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
JavaEE Documentation
ButtonPressMode

Class ButtonPressMode

Hierarchy

java.lang.Object
     java.lang.Enum

Package
com.smartdevicelink.proxy.rpc.enums

Overview

Indicates whether this is a LONG or SHORT button press.

Methods

values()

public static com.smartdevicelink.proxy.rpc.enums.ButtonPressMode values()

valueOf( String name )

public static com.smartdevicelink.proxy.rpc.enums.ButtonPressMode valueOf(String name)

Method Parameters

name

valueForString( String value )

Returns a ButtonPressMode (LONG or SHORT)

public static com.smartdevicelink.proxy.rpc.enums.ButtonPressMode valueForString(String value)

Method Parameters

value
a String

Inherited Methods

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