Table of Contents

Class UsageStats

Namespace
Android.App.Usage
Assembly
MASES.Netdroid.dll
public class UsageStats : Parcelable, IDynamicMetaObjectProvider, IJVMBridgeCore, IEquatable<IJVMBridgeBaseInstance>, IDisposable, IJVMBridgeBaseStatic, IJVMBridgeBase, IJVMBridgeBaseInstance, IJVMBridgeDefinition, IParcelable
Inheritance
UsageStats
Implements
Inherited Members
Extension Methods

Constructors

UsageStats(UsageStats)

public UsageStats(UsageStats arg0)

Parameters

arg0 UsageStats

UsageStats

UsageStats(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 UsageStats(IJVMBridgeBaseInitializer initializer)

Parameters

initializer IJVMBridgeBaseInitializer

Properties

BridgeClassName

Java class name to be instantiated

public override string BridgeClassName { get; }

Property Value

string

CREATOR

public static Parcelable.Creator CREATOR { get; set; }

Property Value

Parcelable.Creator

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

Methods

Add(UsageStats)

public void Add(UsageStats arg0)

Parameters

arg0 UsageStats

UsageStats

CreatePoolableInstance(UsageStats)

HPA initializer for UsageStats(Android.App.Usage.UsageStats arg0)

public static UsageStats CreatePoolableInstance(UsageStats arg0)

Parameters

arg0 UsageStats

Returns

UsageStats

DescribeContents()

public int DescribeContents()

Returns

int

int

GetFirstTimeStamp()

public long GetFirstTimeStamp()

Returns

long

long

GetLastTimeForegroundServiceUsed()

public long GetLastTimeForegroundServiceUsed()

Returns

long

long

GetLastTimeStamp()

public long GetLastTimeStamp()

Returns

long

long

GetLastTimeUsed()

public long GetLastTimeUsed()

Returns

long

long

GetLastTimeVisible()

public long GetLastTimeVisible()

Returns

long

long

GetPackageName()

public String GetPackageName()

Returns

String

String

GetTotalTimeForegroundServiceUsed()

public long GetTotalTimeForegroundServiceUsed()

Returns

long

long

GetTotalTimeInForeground()

public long GetTotalTimeInForeground()

Returns

long

long

GetTotalTimeVisible()

public long GetTotalTimeVisible()

Returns

long

long

WriteToParcel(Parcel, int)

public void WriteToParcel(Parcel arg0, int arg1)

Parameters

arg0 Parcel

Parcel

arg1 int

int