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
MassageCushionFirmness

Class MassageCushionFirmness

Hierarchy

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

Package
com.smartdevicelink.proxy.rpc

Overview

The intensity or firmness of a cushion.

Fields

KEY_CUSHION

public static final java.lang.String KEY_CUSHION
Constant Value
"cushion"

KEY_FIRMNESS

public static final java.lang.String KEY_FIRMNESS
Constant Value
"firmness"

Inherited Fields

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

Constructors

MassageCushionFirmness()

Constructs a new MassageCushionFirmness object

public MassageCushionFirmness()

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

Constructs a new MassageCushionFirmness object indicated by the Hashtable parameter

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

Constructor Parameters

hash
The Hashtable to use to create this RPC

MassageCushionFirmness( MassageCushion cushion, Integer firmness )

Constructs a newly allocated MassageCushionFirmness object

public MassageCushionFirmness(MassageCushion cushion,Integer firmness)

Constructor Parameters

cushion
type of MassageCushion for multi-contour massage seat
firmness
Min: 0 Max: 100

Methods

setCushion( MassageCushion cushion )

Sets the type of MassageCushion for multi-contour massage seat

public com.smartdevicelink.proxy.rpc.MassageCushionFirmness setCushion(MassageCushion cushion)

Method Parameters

cushion
type of MassageCushion for multi-contour massage seat

getCushion()

Gets the type of MassageCushion for multi-contour massage seat

public com.smartdevicelink.proxy.rpc.enums.MassageCushion getCushion()

setFirmness( Integer firmness )

Sets the firmness associated with the supplied MassageCushion

public com.smartdevicelink.proxy.rpc.MassageCushionFirmness setFirmness(Integer firmness)

Method Parameters

firmness
firmness of the supplied MassageCushion (Min: 0 Max: 100)

getFirmness()

Gets the firmness associated with the supplied MassageCushion

public java.lang.Integer getFirmness()

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