Table of Contents

Class UsageEvents.Event

Namespace
Android.App.Usage
Assembly
MASES.Netdroid.dll
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

initializer IJVMBridgeBaseInitializer

Properties

ACTIVITY_PAUSED

public static int ACTIVITY_PAUSED { get; set; }

Property Value

int

ACTIVITY_RESUMED

public static int ACTIVITY_RESUMED { get; set; }

Property Value

int

ACTIVITY_STOPPED

public static int ACTIVITY_STOPPED { get; set; }

Property Value

int

BridgeClassName

Java class name to be instantiated

public override string BridgeClassName { get; }

Property Value

string

CONFIGURATION_CHANGE

public static int CONFIGURATION_CHANGE { get; set; }

Property Value

int

DEVICE_SHUTDOWN

public static int DEVICE_SHUTDOWN { get; set; }

Property Value

int

DEVICE_STARTUP

public static int DEVICE_STARTUP { get; set; }

Property Value

int

FOREGROUND_SERVICE_START

public static int FOREGROUND_SERVICE_START { get; set; }

Property Value

int

FOREGROUND_SERVICE_STOP

public static int FOREGROUND_SERVICE_STOP { get; set; }

Property Value

int

IsBridgeAbstract

true if the BridgeClassName is an abstract class, i.e. cannot be created an instance

public override bool IsBridgeAbstract { get; }

Property Value

bool

IsBridgeCloseable

true if the BridgeClassName implements java.lang.AutoCloseable

public override bool IsBridgeCloseable { get; }

Property Value

bool

IsBridgeInterface

true if the BridgeClassName is an interface, i.e. does not have any public constructor

public override bool IsBridgeInterface { get; }

Property Value

bool

IsBridgeStatic

true if the BridgeClassName is a static class, i.e. does not have any public constructor

public override bool IsBridgeStatic { get; }

Property Value

bool

KEYGUARD_HIDDEN

public static int KEYGUARD_HIDDEN { get; set; }

Property Value

int

KEYGUARD_SHOWN

public static int KEYGUARD_SHOWN { get; set; }

Property Value

int

MOVE_TO_BACKGROUND

[Obsolete("Deprecated in JVM")]
public static int MOVE_TO_BACKGROUND { get; set; }

Property Value

int

MOVE_TO_FOREGROUND

[Obsolete("Deprecated in JVM")]
public static int MOVE_TO_FOREGROUND { get; set; }

Property Value

int

NONE

public static int NONE { get; set; }

Property Value

int

SCREEN_INTERACTIVE

public static int SCREEN_INTERACTIVE { get; set; }

Property Value

int

SCREEN_NON_INTERACTIVE

public static int SCREEN_NON_INTERACTIVE { get; set; }

Property Value

int

SHORTCUT_INVOCATION

public static int SHORTCUT_INVOCATION { get; set; }

Property Value

int

STANDBY_BUCKET_CHANGED

public static int STANDBY_BUCKET_CHANGED { get; set; }

Property Value

int

USER_INTERACTION

public static int USER_INTERACTION { get; set; }

Property Value

int

Methods

CreatePoolableInstance()

HPA initializer for Event()

public static UsageEvents.Event CreatePoolableInstance()

Returns

UsageEvents.Event

GetAppStandbyBucket()

public int GetAppStandbyBucket()

Returns

int

int

GetClassName()

public String GetClassName()

Returns

String

String

GetConfiguration()

public Configuration GetConfiguration()

Returns

Configuration

Configuration

GetEventType()

public int GetEventType()

Returns

int

int

GetExtras()

public PersistableBundle GetExtras()

Returns

PersistableBundle

PersistableBundle

GetPackageName()

public String GetPackageName()

Returns

String

String

GetShortcutId()

public String GetShortcutId()

Returns

String

String

GetTimeStamp()

public long GetTimeStamp()

Returns

long

long