AppOpsManager.OpActiveChanged2EventArgs Constructor
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.
Initializes active-state event data with device and attribution information.
public OpActiveChanged2EventArgs(string op, int uid, string packageName, string? attributionTag, int virtualDeviceId, bool active, int attributionFlags, int attributionChainId);
new Android.App.AppOpsManager.OpActiveChanged2EventArgs : string * int * string * string * int * bool * int * int -> Android.App.AppOpsManager.OpActiveChanged2EventArgs
Parameters
- op
- String
The operation identifier reported by the callback.
- uid
- Int32
The UID reported for the operation.
- packageName
- String
The name of the package performing the operation.
- attributionTag
- String
The operation's reported attribution tag.
- virtualDeviceId
- Int32
The identifier of the virtual device whose operation changed.
- active
- Boolean
Whether the operation became active rather than inactive.
- attributionFlags
- Int32
The integer attribution flags reported for the operation.
- attributionChainId
- Int32
The identifier of the attribution chain containing the operation.
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.