Language

AppOpsManager.OpChanged2EventArgs(String, String, Int32, String) Constructor

Definition

Initializes operation-state event data with user and device information.

public OpChanged2EventArgs(string op, string packageName, int userId, string persistentDeviceId);
new Android.App.AppOpsManager.OpChanged2EventArgs : string * string * int * string -> Android.App.AppOpsManager.OpChanged2EventArgs

Parameters

op
String

The operation identifier reported by the callback.

packageName
String

The package name reported for the change; it may be empty for a change that is not package-specific.

userId
Int32

The Android user identifier reported for the affected application.

persistentDeviceId
String

The persistent identifier of the device whose operation changed.

Remarks

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