Table of Contents

Class DeviceLockManager

Namespace
Android.Devicelock
Assembly
MASES.Netdroid.dll
public class DeviceLockManager : JVMBridgeBase<DeviceLockManager>, IDynamicMetaObjectProvider, IJVMBridgeCore, IEquatable<IJVMBridgeBaseInstance>, IDisposable, IJVMBridgeBaseStatic, IJVMBridgeBase, IJVMBridgeBaseInstance, IJVMBridgeDefinition
Inheritance
DeviceLockManager
Implements
Extension Methods

Constructors

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

Parameters

initializer IJVMBridgeBaseInitializer

Properties

BridgeClassName

Java class name to be instantiated

public override string BridgeClassName { get; }

Property Value

string

DEVICE_LOCK_ROLE_FINANCING

public static int DEVICE_LOCK_ROLE_FINANCING { 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

Methods

GetDeviceId(Executor, OutcomeReceiver<DeviceId, Exception>)

public void GetDeviceId(Executor arg0, OutcomeReceiver<DeviceId, Exception> arg1)

Parameters

arg0 Executor

Executor

arg1 OutcomeReceiver<DeviceId, Exception>

OutcomeReceiver

GetKioskApps(Executor, OutcomeReceiver<Map<Integer, String>, Exception>)

public void GetKioskApps(Executor arg0, OutcomeReceiver<Map<Integer, String>, Exception> arg1)

Parameters

arg0 Executor

Executor

arg1 OutcomeReceiver<Map<Integer, String>, Exception>

OutcomeReceiver

IsDeviceLocked(Executor, OutcomeReceiver<Boolean, Exception>)

public void IsDeviceLocked(Executor arg0, OutcomeReceiver<Boolean, Exception> arg1)

Parameters

arg0 Executor

Executor

arg1 OutcomeReceiver<Boolean, Exception>

OutcomeReceiver

LockDevice(Executor, OutcomeReceiver<Void, Exception>)

public void LockDevice(Executor arg0, OutcomeReceiver<Void, Exception> arg1)

Parameters

arg0 Executor

Executor

arg1 OutcomeReceiver<Void, Exception>

OutcomeReceiver

UnlockDevice(Executor, OutcomeReceiver<Void, Exception>)

public void UnlockDevice(Executor arg0, OutcomeReceiver<Void, Exception> arg1)

Parameters

arg0 Executor

Executor

arg1 OutcomeReceiver<Void, Exception>

OutcomeReceiver