自 2025 年 3 月 27 日起,我们建议您使用 android-latest-release
而非 aosp-main
构建 AOSP 并为其做出贡献。如需了解详情,请参阅 AOSP 的变更。
使用集合让一切井井有条
根据您的偏好保存内容并对其进行分类。
本页面上的内容和代码示例受内容许可部分所述许可的限制。Java 和 OpenJDK 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2025-07-27。
[null,null,["最后更新时间 (UTC):2025-07-27。"],[],[],null,["# IRemoteScheduledListenersFeature\n================================\n\n\n`\npublic\n\n\ninterface\nIRemoteScheduledListenersFeature\n`\n\n\n`\n\n\nimplements\n\n`[IRemoteFeature](../../../../../../../reference/tradefed/com/android/tradefed/service/IRemoteFeature.html)`\n\n\n`\n\n|------------------------------------------------------------------------|\n| com.android.tradefed.service.internal.IRemoteScheduledListenersFeature |\n\n|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| Known indirect subclasses [EarlyDeviceReleaseFeature](../../../../../../../reference/tradefed/com/android/tradefed/device/internal/EarlyDeviceReleaseFeature.html) |------------------------------------------------------------------------------------------------------------------------------------------|---------------------------------------------------------| | [EarlyDeviceReleaseFeature](../../../../../../../reference/tradefed/com/android/tradefed/device/internal/EarlyDeviceReleaseFeature.html) | Feature server implementation for early device release. | |\n\n\u003cbr /\u003e\n\n*** ** * ** ***\n\nExtension of [IRemoteFeature](../../../../../../../reference/tradefed/com/android/tradefed/service/IRemoteFeature.html) to support passing in [IScheduledInvocationListener](../../../../../../../reference/tradefed/com/android/tradefed/command/ICommandScheduler.IScheduledInvocationListener.html)s.\nThis is intended to be used solely with the [TradefedFeatureServer](../../../../../../../reference/tradefed/com/android/tradefed/service/TradefedFeatureServer.html).\n\nSummary\n-------\n\n| ### Public methods ||\n|------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| ` abstract ` | ` `[getListeners](../../../../../../../reference/tradefed/com/android/tradefed/service/internal/IRemoteScheduledListenersFeature.html#getListeners())`() ` |\n| ` abstract void` | ` `[setListeners](../../../../../../../reference/tradefed/com/android/tradefed/service/internal/IRemoteScheduledListenersFeature.html#setListeners(\u003cany\u003e))`(` listeners) |\n\nPublic methods\n--------------\n\n### getListeners\n\n```\npublic abstract getListeners ()\n```\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n| Returns ||\n|---|--------|\n| | \u003cbr /\u003e |\n\n### setListeners\n\n```\npublic abstract void setListeners ( listeners)\n```\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n| Parameters ||\n|-------------|--------|\n| `listeners` | \u003cbr /\u003e |"]]