Expand Minimize Picture-in-picture Power Device Status Voice Recognition Skip Back Skip Forward Minus Plus Play Search
Internet Explorer alert
This browser is not recommended for use with smartdevicelink.com, and may not function properly. Upgrade to a different browser to guarantee support of all features.
close alert
To Top Created with Sketch. To Top
To Bottom Created with Sketch. To Bottom
Android Documentation
HeadLampStatus

Class HeadLampStatus

Hierarchy

java.lang.Object
     com.smartdevicelink.proxy.RPCStruct

Package
com.smartdevicelink.proxy.rpc

Overview

Status of the head lamps.

Param Name Type Mandatory Description
lowBeamsOn Boolean true Status of the low beam lamps.
highBeamsOn Boolean true Status of the high beam lamps.
ambientLightSensorStatus AmbientLightStatus true Status of the ambient light sensor.

Fields

KEY_AMBIENT_LIGHT_SENSOR_STATUS

public static final java.lang.String KEY_AMBIENT_LIGHT_SENSOR_STATUS
Constant Value
"ambientLightSensorStatus"

KEY_HIGH_BEAMS_ON

public static final java.lang.String KEY_HIGH_BEAMS_ON
Constant Value
"highBeamsOn"

KEY_LOW_BEAMS_ON

public static final java.lang.String KEY_LOW_BEAMS_ON
Constant Value
"lowBeamsOn"

Inherited Fields

From Class Fields
com.smartdevicelink.proxy.RPCStruct KEY_BULK_DATA, KEY_PROTECTED, store

Constructors

HeadLampStatus()

Constructs a new HeadLampStatus object

public HeadLampStatus()

HeadLampStatus( java.util.Hashtable<java.lang.String, java.lang.Object> hash )

Constructs a new HeadLampStatus object indicated by the Hashtable parameter

public HeadLampStatus(java.util.Hashtable<java.lang.String, java.lang.Object> hash)

Constructor Parameters

hash
The hash table to use

HeadLampStatus( Boolean lowBeamsOn, Boolean highBeamsOn )

Constructs a new HeadLampStatus object

public HeadLampStatus(Boolean lowBeamsOn,Boolean highBeamsOn)

Constructor Parameters

lowBeamsOn
highBeamsOn

Methods

setAmbientLightStatus( AmbientLightStatus ambientLightSensorStatus )

public com.smartdevicelink.proxy.rpc.HeadLampStatus setAmbientLightStatus(AmbientLightStatus ambientLightSensorStatus)

Method Parameters

ambientLightSensorStatus

getAmbientLightStatus()

public com.smartdevicelink.proxy.rpc.enums.AmbientLightStatus getAmbientLightStatus()

setHighBeamsOn( Boolean highBeamsOn )

public com.smartdevicelink.proxy.rpc.HeadLampStatus setHighBeamsOn(Boolean highBeamsOn)

Method Parameters

highBeamsOn

getHighBeamsOn()

public java.lang.Boolean getHighBeamsOn()

setLowBeamsOn( Boolean lowBeamsOn )

public com.smartdevicelink.proxy.rpc.HeadLampStatus setLowBeamsOn(Boolean lowBeamsOn)

Method Parameters

lowBeamsOn

getLowBeamsOn()

public java.lang.Boolean getLowBeamsOn()

Inherited Methods

From Class Methods
com.smartdevicelink.proxy.RPCStruct getStoreValue, getStore, deserializeJSON, serializeJSON, serializeJSON, format, getBulkData, setBulkData, setPayloadProtected, isPayloadProtected, getMessageTypeName, hasKey, setValue, getValue, getObject, formatObject, getValueForString, getString, getInteger, getDouble, getFloat, getBoolean, getLong, clone, equals, hashCode
java.lang.Object getClass, hashCode, equals, clone, toString, notify, notifyAll, wait, wait, wait, finalize
View on GitHub.com
Previous Section Next Section