語言

VoiceInteractor.UnregisterOnDestroyedCallback(IRunnable) 方法

定義

取消註冊先前註冊的 onDestroy 回撥

[Android.Runtime.Register("unregisterOnDestroyedCallback", "(Ljava/lang/Runnable;)Z", "", ApiSince=29)]
public bool UnregisterOnDestroyedCallback(Java.Lang.IRunnable callback);
[<Android.Runtime.Register("unregisterOnDestroyedCallback", "(Ljava/lang/Runnable;)Z", "", ApiSince=29)>]
member this.UnregisterOnDestroyedCallback : Java.Lang.IRunnable -> bool

參數

callback
IRunnable

回撥要移除。

傳回

回撥是否未註冊。

屬性

備註

取消註冊先前註冊的 onDestroy 回撥

Android 參考資料。android.app.VoiceInteractor.unregisterOnDestroyedCallback

本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。

適用於