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
PredefinedWindows

Class PredefinedWindows

Hierarchy

java.lang.Object
     java.lang.Enum

Package
com.smartdevicelink.proxy.rpc.enums

Overview

specifies what windows and IDs are predefined and pre-created on behalf of the app.

The default window is always available and represents the app window on the main display. It's an equivalent to today's app window. For backward compatibility, this will ensure the app always has at least the default window on the main display. The app can choose to use this predefined enum element to specifically address app's main window or to duplicate window content. It is not possible to duplicate another window to the default window.

The primary widget is a special widget, that can be associated with a service type, which is used by the HMI whenever a single widget needs to represent the whole app. The primary widget should be named as the app and can be pre-created by the HMI

Methods

values()

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

valueOf( String name )

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

Method Parameters

name

valueForInt( int value )

public static com.smartdevicelink.proxy.rpc.enums.PredefinedWindows valueForInt(int value)

Method Parameters

value

getValue()

public int getValue()

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