Język

IAppFunctionObserver.OnAppFunctionStatesChanged Method

Definition

Called when the runtime state of one or more app functions changes.

[Android.Runtime.Register("onAppFunctionStatesChanged", "(Ljava/util/Set;)V", "GetOnAppFunctionStatesChanged_Ljava_util_Set_Handler:Android.App.AppFunctions.IAppFunctionObserverInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", ApiSince=37)]
public void OnAppFunctionStatesChanged(System.Collections.Generic.ICollection<Android.App.AppFunctions.AppFunctionName> changedFunctionNames);
[<Android.Runtime.Register("onAppFunctionStatesChanged", "(Ljava/util/Set;)V", "GetOnAppFunctionStatesChanged_Ljava_util_Set_Handler:Android.App.AppFunctions.IAppFunctionObserverInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", ApiSince=37)>]
abstract member OnAppFunctionStatesChanged : System.Collections.Generic.ICollection<Android.App.AppFunctions.AppFunctionName> -> unit

Parameters

changedFunctionNames
ICollection<AppFunctionName>

The list of AppFunctionNames for the functions whose state has changed.

Attributes

Remarks

Called when the runtime state of one or more app functions changes.

Upon receiving this notification, clients can call AppFunctionManager.getAppFunctionStates to retrieve the updated AppFunctionState for the affected functions.

Android reference for android.app.appfunctions.AppFunctionObserver.onAppFunctionStatesChanged.

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