Language

AppOpsManager.OpActiveChanged2EventArgs Class

Definition

Contains an operation's active-state change with its device and attribution information.

public class AppOpsManager.OpActiveChanged2EventArgs : EventArgs
type AppOpsManager.OpActiveChanged2EventArgs = class
    inherit EventArgs
Inheritance
AppOpsManager.OpActiveChanged2EventArgs

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.

Constructors

Name Description
AppOpsManager.OpActiveChanged2EventArgs(String, Int32, String, String, Int32, Boolean, Int32, Int32)

Initializes active-state event data with device and attribution information.

Properties

Name Description
Active

Gets the operation's active state stored in this event data.

AttributionChainId

Gets the attribution-chain identifier reported for the operation.

AttributionFlags

Gets the attribution flags reported for the operation.

AttributionTag

Gets the operation's attribution tag stored in this event data.

Op

Gets the operation identifier stored in this event data.

PackageName

Gets the name of the package reported as performing the operation.

Uid

Gets the UID reported for the operation.

VirtualDeviceId

Gets the virtual-device identifier reported for the operation.

Applies to