/* * Copyright (c) 2017 - 2020, SmartDeviceLink Consortium, Inc. * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * Redistributions of source code must retain the above copyright notice, this * list of conditions and the following disclaimer. * * Redistributions in binary form must reproduce the above copyright notice, * this list of conditions and the following * disclaimer in the documentation and/or other materials provided with the * distribution. * * Neither the name of the SmartDeviceLink Consortium Inc. nor the names of * its contributors may be used to endorse or promote products derived * from this software without specific prior written permission. * * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE * POSSIBILITY OF SUCH DAMAGE. */ package com.smartdevicelink.proxy.rpc.enums; /** *

The SystemCapabilityType indicates which type of capability information exists in a SystemCapability struct.

* *

Enum List

* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * DriverDistractionCapability * * * * *
Enum NameReturn TypeDescriptionRequires Async?Notes
NAVIGATIONNavigationCapabilityReturns Navigation CapabilitiesYCall is synchronous after initial call
PHONE_CALLPhoneCapabilityReturns Phone CapabilitiesYCall is synchronous after initial call
VIDEO_STREAMINGVideoStreamingCapabilityReturns Video Streaming CapabilitiesYCall is synchronous after initial call
REMOTE_CONTROLRemoteControlCapabilitiesReturns Remote Control CapabilitiesYCall is synchronous after initial call
HMIHMICapabilitiesReturns HMI CapabilitiesNAvailable Synchronously after Register App Interface response
DISPLAYDisplayCapabilitiesReturns Display CapabilitiesNAvailable Synchronously after Register App Interface response
AUDIO_PASSTHROUGHListReturns a List of AudioPassThruCapabilitiesNAvailable Synchronously after Register App Interface response. @SuppressWarnings("unchecked") may be needed when casting depending on implementation
PCM_STREAMINGAudioPassThruCapabilitiesReturns an AudioPassThruCapabilities ObjectNAvailable Synchronously after Register App Interface response. @SuppressWarnings("unchecked") may be needed when casting depending on implementation
BUTTONListReturns a List of ButtonCapabilitiesNAvailable Synchronously after Register App Interface response. @SuppressWarnings("unchecked") may be needed when casting depending on implementation
HMI_ZONEHmiZoneCapabilitiesReturns HmiZone CapabilitiesNAvailable Synchronously after Register App Interface response
PRESET_BANKPresetBankCapabilitiesReturns PresetBank CapabilitiesNAvailable Synchronously after Register App Interface response
SOFTBUTTONListReturns a List of SoftButtonCapabilitiesNAvailable Synchronously after Register App Interface response. @SuppressWarnings("unchecked") may be needed when casting depending on implementation
SPEECHSpeechCapabilitiesReturns Speech CapabilitiesNAvailable Synchronously after Register App Interface response
VOICE_RECOGNITIONVrCapabilitiesReturns VOICE_RECOGNITIONNAvailable Synchronously after Register App Interface response
APP_SERVICESAppServicesCapabilitiesReturns APP_SERVICESNAvailable Asynchronously, Call is synchronous after initial call
SEAT_LOCATIONSeatLocationCapabilityReturns SEAT_LOCATIONNAvailable Asynchronously, Call is synchronous after initial call
DRIVER_DISTRACTIONReturns DRIVER_DISTRACTIONNSince 7.0 Describes capabilities when the driver is distracted
*/ public enum SystemCapabilityType { /** * Requires initial asynchronous call, then available synchronously after successful call.
* * * * * * * * * * * * * * * *
Enum NameReturn TypeDescriptionRequires Async?Notes
NAVIGATIONNavigationCapabilityReturns Navigation CapabilitiesYCall is synchronous after initial call
*/ NAVIGATION(true), /** * Requires initial asynchronous call, then available synchronously after successful call.
* * * * * * * * * * * * * * * *
Enum NameReturn TypeDescriptionRequires Async?Notes
PHONE_CALLPhoneCapabilityReturns Phone CapabilitiesYCall is synchronous after initial call
*/ PHONE_CALL(true), /** * Requires initial asynchronous call, then available synchronously after successful call.
* * * * * * * * * * * * * * * *
Enum NameReturn TypeDescriptionRequires Async?Notes
VIDEO_STREAMINGVideoStreamingCapabilityReturns Video Streaming CapabilitiesYCall is synchronous after initial call
*/ VIDEO_STREAMING(true), /** * Requires initial asynchronous call, then available synchronously after successful call.
* * * * * * * * * * * * * * *
Enum NameReturn TypeDescriptionRequires Async?Notes
REMOTE_CONTROLRemoteControlCapabilitiesReturns Remote Control CapabilitiesYCall is synchronous after initial call
*/ REMOTE_CONTROL(true), /* These below are not part of the RPC spec. Only for Internal Proxy use */ /** * Available Synchronously after Register App Interface response
* * * * * * * * * * * * * * * *
Enum NameReturn TypeDescriptionRequires Async?Notes
HMIHMICapabilitiesReturns HMI CapabilitiesNAvailable Synchronously after Register App Interface response
*/ HMI(false), /** * Available Synchronously after Register App Interface response
* Returns: DisplayCapabilities * * * * * * * * * * * * * * * *
Enum NameReturn TypeDescriptionRequires Async?Notes
DISPLAYDisplayCapabilitiesReturns Display CapabilitiesN Available Synchronously after Register App Interface response received
*/ @Deprecated DISPLAY(false), /** * @since 6.0 * Returns: List * * * * * * * * * * * * * * * *
Enum NameReturn TypeDescriptionRequires Async?Notes
DISPLAYSListReturns a list of Display CapabilityY Since 6.0 Contain the display related information and all windows related to that display.
*/ DISPLAYS(true), /** * Available Synchronously after Register App Interface response
* Returns: List * * * * * * * * * * * * * * * *
Enum NameReturn TypeDescriptionRequires Async?Notes
PRERECORDED_SPEECHprerecordedSpeechCapabilitiesReturns ListNAvailable Synchronously after Register App Interface response received
*/ PRERECORDED_SPEECH(false), /** * Available Synchronously after Register App Interface response
* Note: @SuppressWarnings("unchecked") may be needed when casting depending on implementation * * * * * * * * * * * * * * * *
Enum NameReturn TypeDescriptionRequires Async?Notes
AUDIO_PASSTHROUGHListReturns a List of AudioPassThruCapabilitiesNAvailable Synchronously after Register App Interface response. @SuppressWarnings("unchecked") may be needed when casting depending on implementation
*/ AUDIO_PASSTHROUGH(false), /** * Available Synchronously after Register App Interface response
* Note: @SuppressWarnings("unchecked") may be needed when casting depending on implementation * * * * * * * * * * * * * * * *
Enum NameReturn TypeDescriptionRequires Async?Notes
PCM_STREAMINGAudioPassThruCapabilitiesReturns a AudioPassThruCapabilities ObjectNAvailable Synchronously after Register App Interface response. @SuppressWarnings("unchecked") may be needed when casting depending on implementation
*/ PCM_STREAMING(false), /** * Available Synchronously after Register App Interface response
* Note: @SuppressWarnings("unchecked") may be needed when casting depending on implementation * * * * * * * * * * * * * * * *
Enum NameReturn TypeDescriptionRequires Async?Notes
BUTTONListReturns a List of ButtonCapabilitiesNAvailable Synchronously after Register App Interface response. @SuppressWarnings("unchecked") may be needed when casting depending on implementation
*/ @Deprecated BUTTON(false), /** * Available Synchronously after Register App Interface response
* * * * * * * * * * * * * * * *
Enum NameReturn TypeDescriptionRequires Async?Notes
HMI_ZONEHmiZoneCapabilitiesReturns HmiZone CapabilitiesNAvailable Synchronously after Register App Interface response
*/ HMI_ZONE(false), /** * Available Synchronously after Register App Interface response
* * * * * * * * * * * * * * * *
Enum NameReturn TypeDescriptionRequires Async?Notes
PRESET_BANKPresetBankCapabilitiesReturns PresetBank CapabilitiesNAvailable Synchronously after Register App Interface response
*/ @Deprecated PRESET_BANK(false), /** * Available Synchronously after Register App Interface response
* Returns: List
* Note: @SuppressWarnings("unchecked") may be needed when casting depending on implementation * * * * * * * * * * * * * * * *
Enum NameReturn TypeDescriptionRequires Async?Notes
SOFTBUTTONListReturns a List of SoftButtonCapabilitiesNAvailable Synchronously after Register App Interface response. @SuppressWarnings("unchecked") may be needed when casting depending on implementation
*/ @Deprecated SOFTBUTTON(false), /** * Available Synchronously after Register App Interface response
* * * * * * * * * * * * * * * *
Enum NameReturn TypeDescriptionRequires Async?Notes
SPEECHSpeechCapabilitiesReturns Speech CapabilitiesNAvailable Synchronously after Register App Interface response
*/ SPEECH(false), /** * Available Synchronously after Register App Interface response
* * * * * * * * * * * * * * * *
Enum NameReturn TypeDescriptionRequires Async?Notes
VOICE_RECOGNITIONVrCapabilitiesReturns VOICE_RECOGNITIONNAvailable Synchronously after Register App Interface response
*/ VOICE_RECOGNITION(false), /** * Available Synchronously after Register App Interface response
* * * * * * * * * * * * * * * *
Enum NameReturn TypeDescriptionRequires Async?Notes
APP_SERVICESAppServicesCapabilitiesReturns APP_SERVICESNAvailable Asynchronously, Call is synchronous after initial call
*/ APP_SERVICES(true), /** * Available Synchronously after Register App Interface response
* * * * * * * * * * * * * * * *
Enum NameReturn TypeDescriptionRequires Async?Notes
SEAT_LOCATIONSeatLocationCapabilityReturns SEAT_LOCATIONNAvailable Asynchronously, Call is synchronous after initial call
*/ SEAT_LOCATION(true), /** * * * * * * * * * * * * * * * *
Enum NameReturn TypeDescriptionRequires Async?Notes
DRIVER_DISTRACTIONDriverDistractionCapabilityReturns DRIVER_DISTRACTIONNSince 7.0 Describes capabilities when the driver is distracted
*/ DRIVER_DISTRACTION(true); final boolean IS_QUERYABLE; SystemCapabilityType(boolean isQueryable) { this.IS_QUERYABLE = isQueryable; } public boolean isQueryable() { return IS_QUERYABLE; } public static SystemCapabilityType valueForString(String value) { try { return valueOf(value); } catch (Exception e) { return null; } } }