Język

IAppFunctionObservation.Cancel Method

Definition

Stops the observation previously started using AppFunctionManager#observeAppFunctions from receiving updates.

[Android.Runtime.Register("cancel", "()V", "GetCancelHandler:Android.App.AppFunctions.IAppFunctionObservationInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", ApiSince=37)]
public void Cancel();
[<Android.Runtime.Register("cancel", "()V", "GetCancelHandler:Android.App.AppFunctions.IAppFunctionObservationInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", ApiSince=37)>]
abstract member Cancel : unit -> unit
Attributes

Remarks

Stops the observation previously started using AppFunctionManager.observeAppFunctions from receiving updates.

If the observation is already canceled, this method has no effect.

Android reference for android.app.appfunctions.AppFunctionObservation.cancel.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to