Language

AppOpsManager.OpChanged2EventArgs Class

Definition

Contains an operation-state change with its user and persistent-device identifiers.

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

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.OpChanged2EventArgs(String, String, Int32, String)

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

Properties

Name Description
Op

Gets the changed operation's identifier stored in this event data.

PackageName

Gets the package name reported with the operation change.

PersistentDeviceId

Gets the persistent-device identifier reported with the change.

UserId

Gets the Android user identifier reported for the affected application.

Applies to