Class UsageEvents.Event
public class UsageEvents.Event : JVMBridgeBase<UsageEvents.Event>, IDynamicMetaObjectProvider, IJVMBridgeCore, IEquatable<IJVMBridgeBaseInstance>, IDisposable, IJVMBridgeBaseStatic, IJVMBridgeBase, IJVMBridgeBaseInstance, IJVMBridgeDefinition
- Inheritance
-
UsageEvents.Event
- Implements
- Extension Methods
Constructors
Event()
public Event()
Event(IJVMBridgeBaseInitializer)
Initializer used internally by JCOBridge. Do not use directly.
[Obsolete("This public initializer is needed for JCOBridge internal use, other uses can produce unidentible behaviors.")]
public Event(IJVMBridgeBaseInitializer initializer)
Parameters
initializerIJVMBridgeBaseInitializer
Properties
ACTIVITY_PAUSED
public static int ACTIVITY_PAUSED { get; set; }
Property Value
ACTIVITY_RESUMED
public static int ACTIVITY_RESUMED { get; set; }
Property Value
ACTIVITY_STOPPED
public static int ACTIVITY_STOPPED { get; set; }
Property Value
BridgeClassName
Java class name to be instantiated
public override string BridgeClassName { get; }
Property Value
CONFIGURATION_CHANGE
public static int CONFIGURATION_CHANGE { get; set; }
Property Value
DEVICE_SHUTDOWN
public static int DEVICE_SHUTDOWN { get; set; }
Property Value
DEVICE_STARTUP
public static int DEVICE_STARTUP { get; set; }
Property Value
FOREGROUND_SERVICE_START
public static int FOREGROUND_SERVICE_START { get; set; }
Property Value
FOREGROUND_SERVICE_STOP
public static int FOREGROUND_SERVICE_STOP { get; set; }
Property Value
IsBridgeAbstract
true if the BridgeClassName is an abstract class, i.e. cannot be created an instance
public override bool IsBridgeAbstract { get; }
Property Value
IsBridgeCloseable
true if the BridgeClassName implements java.lang.AutoCloseable
public override bool IsBridgeCloseable { get; }
Property Value
IsBridgeInterface
true if the BridgeClassName is an interface, i.e. does not have any public constructor
public override bool IsBridgeInterface { get; }
Property Value
IsBridgeStatic
true if the BridgeClassName is a static class, i.e. does not have any public constructor
public override bool IsBridgeStatic { get; }
Property Value
KEYGUARD_HIDDEN
public static int KEYGUARD_HIDDEN { get; set; }
Property Value
KEYGUARD_SHOWN
public static int KEYGUARD_SHOWN { get; set; }
Property Value
MOVE_TO_BACKGROUND
[Obsolete("Deprecated in JVM")]
public static int MOVE_TO_BACKGROUND { get; set; }
Property Value
MOVE_TO_FOREGROUND
[Obsolete("Deprecated in JVM")]
public static int MOVE_TO_FOREGROUND { get; set; }
Property Value
NONE
public static int NONE { get; set; }
Property Value
SCREEN_INTERACTIVE
public static int SCREEN_INTERACTIVE { get; set; }
Property Value
SCREEN_NON_INTERACTIVE
public static int SCREEN_NON_INTERACTIVE { get; set; }
Property Value
SHORTCUT_INVOCATION
https://developer.android.com/reference/android/app/usage/UsageEvents.Event.html#SHORTCUT_INVOCATION
public static int SHORTCUT_INVOCATION { get; set; }
Property Value
STANDBY_BUCKET_CHANGED
public static int STANDBY_BUCKET_CHANGED { get; set; }
Property Value
USER_INTERACTION
public static int USER_INTERACTION { get; set; }
Property Value
Methods
CreatePoolableInstance()
HPA initializer for Event()
public static UsageEvents.Event CreatePoolableInstance()
Returns
GetAppStandbyBucket()
public int GetAppStandbyBucket()
Returns
GetClassName()
public String GetClassName()
Returns
GetConfiguration()
public Configuration GetConfiguration()
Returns
GetEventType()
public int GetEventType()
Returns
GetExtras()
public PersistableBundle GetExtras()
Returns
GetPackageName()
public String GetPackageName()
Returns
GetShortcutId()
public String GetShortcutId()
Returns
GetTimeStamp()
public long GetTimeStamp()