Table of Contents

Class Light

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

Constructors

Light(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 Light(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

LIGHT_CAPABILITY_BRIGHTNESS

public static int LIGHT_CAPABILITY_BRIGHTNESS { get; set; }

Property Value

int

LIGHT_CAPABILITY_COLOR_RGB

public static int LIGHT_CAPABILITY_COLOR_RGB { get; set; }

Property Value

int

LIGHT_CAPABILITY_RGB

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

Property Value

int

LIGHT_TYPE_INPUT

public static int LIGHT_TYPE_INPUT { get; set; }

Property Value

int

LIGHT_TYPE_KEYBOARD_BACKLIGHT

public static int LIGHT_TYPE_KEYBOARD_BACKLIGHT { get; set; }

Property Value

int

LIGHT_TYPE_MICROPHONE

public static int LIGHT_TYPE_MICROPHONE { get; set; }

Property Value

int

LIGHT_TYPE_PLAYER_ID

public static int LIGHT_TYPE_PLAYER_ID { get; set; }

Property Value

int

Methods

DescribeContents()

public int DescribeContents()

Returns

int

int

GetId()

public int GetId()

Returns

int

int

GetName()

public String GetName()

Returns

String

String

GetOrdinal()

public int GetOrdinal()

Returns

int

int

GetType()

public int GetType()

Returns

int

int

HasBrightnessControl()

public bool HasBrightnessControl()

Returns

bool

bool

HasRgbControl()

public bool HasRgbControl()

Returns

bool

bool

WriteToParcel(Parcel, int)

public void WriteToParcel(Parcel arg0, int arg1)

Parameters

arg0 Parcel

Parcel

arg1 int

int