AppOpsManager.OnOpNotedCallback.OnNoted(SyncNotedAppOp) Method

Definition

Called when an app-op was #noteOp noted for this package inside of a synchronous API call, i.

[Android.Runtime.Register("onNoted", "(Landroid/app/SyncNotedAppOp;)V", "GetOnNoted_Landroid_app_SyncNotedAppOp_Handler", ApiSince=30)]
public abstract void OnNoted (Android.App.SyncNotedAppOp op);
[<Android.Runtime.Register("onNoted", "(Landroid/app/SyncNotedAppOp;)V", "GetOnNoted_Landroid_app_SyncNotedAppOp_Handler", ApiSince=30)>]
abstract member OnNoted : Android.App.SyncNotedAppOp -> unit

Parameters

op
SyncNotedAppOp

op noted

Attributes

Remarks

Called when an app-op was #noteOp noted for this package inside of a synchronous API call, i.e. a API call that returned data or waited until the action was performed.

Called on the calling thread before the API returns. This allows the app to e.g. collect stack traces to figure out where the access came from.

Java documentation for android.app.AppOpsManager.OnOpNotedCallback.onNoted(android.app.SyncNotedAppOp).

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