Expand Minimize Picture-in-picture Power Device Status Voice Recognition Skip Back Skip Forward Minus Plus Play Search
Documentation
Sidebar

Class SdlDataTypeConverter

Hierarchy

java.lang.Object

Package
com.smartdevicelink.util

Overview

This is a utility class to aid in handling values stored in the RPC classes.

Constructors

SdlDataTypeConverter()

public SdlDataTypeConverter()

Methods

objectToDouble( Object originalValue )

Converts values that are retrieved from an RPC parameters Hashtable as an Object into the standard number value of the mobile API, Double.

public static java.lang.Double objectToDouble(Object originalValue)

Parameters

originalValue
The value retrieved from an RPC parameters Hashtable.

objectToFloat( Object originalValue )

Converts values that are retrieved from an RPC parameters Hashtable as an Object into the standard number value of the mobile API, Float.

public static java.lang.Float objectToFloat(Object originalValue)

Parameters

originalValue
The value retrieved from an RPC parameters Hashtable.

Inherited Methods

From Class Methods
java.lang.Object getClass, hashCode, equals, clone, toString, notify, notifyAll, wait, wait, wait, finalize
View on GitHub.com
Previous Section Next Section