AppOpsManager.OnOpNotedCallback.OnAsyncNoted(AsyncNotedAppOp) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Called when an app-op was noted for this package which cannot be delivered via the other two mechanisms.
[Android.Runtime.Register("onAsyncNoted", "(Landroid/app/AsyncNotedAppOp;)V", "GetOnAsyncNoted_Landroid_app_AsyncNotedAppOp_Handler", ApiSince=30)]
public abstract void OnAsyncNoted (Android.App.AsyncNotedAppOp asyncOp);
[<Android.Runtime.Register("onAsyncNoted", "(Landroid/app/AsyncNotedAppOp;)V", "GetOnAsyncNoted_Landroid_app_AsyncNotedAppOp_Handler", ApiSince=30)>]
abstract member OnAsyncNoted : Android.App.AsyncNotedAppOp -> unit
Parameters
- asyncOp
- AsyncNotedAppOp
op noted
- Attributes
Remarks
Called when an app-op was noted for this package which cannot be delivered via the other two mechanisms.
Called as soon as possible after the app-op was noted, but the delivery delay is not guaranteed. Due to how async calls work in Android this might even be delivered slightly before the private data is delivered to the app.
If the app is not running or no OnOpNotedCallback
is registered a small amount of noted app-ops are buffered and then delivered as soon as a listener is registered.
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.