Compartilhar via


AppOpsManager.OnOpNotedCallback.OnSelfNoted(SyncNotedAppOp) Method

Definition

Called when this app noted an app-op for its own package,

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

Parameters

op
SyncNotedAppOp

op noted

Attributes

Remarks

Called when this app noted an app-op for its own package,

This is very similar to #onNoted only that the tracking was not caused by the API provider in a separate process, but by one in the app's own process.

Java documentation for android.app.AppOpsManager.OnOpNotedCallback.onSelfNoted(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