Table of Contents

Class Device

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

Constructors

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

Parameters

initializer IJVMBridgeBaseInitializer

Properties

BridgeClassName

Java class name to be instantiated

public override string BridgeClassName { get; }

Property Value

string

DEVICE_TYPE_CHEST_STRAP

public static int DEVICE_TYPE_CHEST_STRAP { get; set; }

Property Value

int

DEVICE_TYPE_FITNESS_BAND

public static int DEVICE_TYPE_FITNESS_BAND { get; set; }

Property Value

int

DEVICE_TYPE_HEAD_MOUNTED

public static int DEVICE_TYPE_HEAD_MOUNTED { get; set; }

Property Value

int

DEVICE_TYPE_PHONE

public static int DEVICE_TYPE_PHONE { get; set; }

Property Value

int

DEVICE_TYPE_RING

public static int DEVICE_TYPE_RING { get; set; }

Property Value

int

DEVICE_TYPE_SCALE

public static int DEVICE_TYPE_SCALE { get; set; }

Property Value

int

DEVICE_TYPE_SMART_DISPLAY

public static int DEVICE_TYPE_SMART_DISPLAY { get; set; }

Property Value

int

DEVICE_TYPE_UNKNOWN

public static int DEVICE_TYPE_UNKNOWN { get; set; }

Property Value

int

DEVICE_TYPE_WATCH

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

GetManufacturer()

public String GetManufacturer()

Returns

String

String

GetModel()

public String GetModel()

Returns

String

String

GetType()

public int GetType()

Returns

int

int