[Array.<AudioPassThruCapabilities>, null]
[Object, null]
[WindowCapability, null]
[DisplayCapabilities, null]
[DriverDistractionCapability, null]
[HMICapabilities, null]
[Array.<HmiZoneCapabilities>, null]
[AudioPassThruCapabilities, null]
[Array.<PrerecordedSpeech>, null]
[PresetBankCapabilities, null]
[Array.<SpeechCapabilities>, null]
[Array.<VrCapabilities>, null]
[WindowCapability, null]
Boolean
Boolean
Promise
Initializes an instance of SystemCapabilityManager
Add an OnSystemCapabilityListener function.
Kind: Instance method of SystemCapabilityManager
Param | Type | Description |
---|---|---|
systemCapabilityType | SystemCapabilityType |
A SystemCapabilityType enum value. |
listener | function |
The function to invoke when the event is triggered. |
[Array.<AudioPassThruCapabilities>, null]
Gets the audio pass thru capabilities
Kind: Instance method of SystemCapabilityManager
Returns: [Array.<AudioPassThruCapabilities>, null]
- An array of AudioPassThruCapabilities structs, or null.
[Object, null]
Tries to find a capability in the cache
Kind: Instance method of SystemCapabilityManager
Returns: [Object, null]
- returns null if a capability can't be returned
Param | Type | Description |
---|---|---|
systemCapabilityType | SystemCapabilityType |
A SystemCapabilityType enum value. |
[WindowCapability, null]
Returns the default main window capability
Kind: Instance method of SystemCapabilityManager
Returns: [WindowCapability, null]
- A WindowCapability struct, or null.
[DisplayCapabilities, null]
Gets the display capabilities
Kind: Instance method of SystemCapabilityManager
Returns: [DisplayCapabilities, null]
- A DisplayCapabilities struct, or null.
[DriverDistractionCapability, null]
Gets the DriverDistraction capabilities
Kind: Instance method of SystemCapabilityManager
Returns: [DriverDistractionCapability, null]
- A HMICapabilities struct, or null.
[HMICapabilities, null]
Gets the HMI capabilities
Kind: Instance method of SystemCapabilityManager
Returns: [HMICapabilities, null]
- A HMICapabilities struct, or null.
[Array.<HmiZoneCapabilities>, null]
Gets the HMI zone capabilities
Kind: Instance method of SystemCapabilityManager
Returns: [Array.<HmiZoneCapabilities>, null]
- An array of HmiZoneCapabilities enums, or null.
[AudioPassThruCapabilities, null]
Gets the PCM stream capabilities
Kind: Instance method of SystemCapabilityManager
Returns: [AudioPassThruCapabilities, null]
- A AudioPassThruCapabilities struct, or null.
[Array.<PrerecordedSpeech>, null]
Gets the prerecorded speech capabilities
Kind: Instance method of SystemCapabilityManager
Returns: [Array.<PrerecordedSpeech>, null]
- An array of PrerecordedSpeech enums, or null.
[PresetBankCapabilities, null]
Gets the preset bank capabilities
Kind: Instance method of SystemCapabilityManager
Returns: [PresetBankCapabilities, null]
- A PresetBankCapabilities struct, or null.
[Array.<SpeechCapabilities>, null]
Gets the speech capabilities
Kind: Instance method of SystemCapabilityManager
Returns: [Array.<SpeechCapabilities>, null]
- An array of SpeechCapabilities enums, or null.
[Array.<VrCapabilities>, null]
Gets the VR capabilities
Kind: Instance method of SystemCapabilityManager
Returns: [Array.<VrCapabilities>, null]
- An array of VrCapabilities enums, or null.
[WindowCapability, null]
Gets the window capability given a window id
Kind: Instance method of SystemCapabilityManager
Returns: [WindowCapability, null]
- A WindowCapability struct, or null.
Param | Type | Description |
---|---|---|
windowId | Number |
The numeric window ID. |
Boolean
Ability to see if the connected module supports the given capability. Useful to check before attempting to query for capabilities that require asynchronous calls to initialize.
Kind: Instance method of SystemCapabilityManager
Returns: Boolean
- if that capability is supported with the current, connected module
Param | Type | Description |
---|---|---|
type | SystemCapabilityType |
the SystemCapabilityType that is to be checked |
Boolean
Remove an OnSystemCapabilityListener function.
Kind: Instance method of SystemCapabilityManager
Returns: Boolean
- Whether or not the listener was removed.
Param | Type | Description |
---|---|---|
systemCapabilityType | SystemCapabilityType |
A SystemCapabilityType enum value. |
listener | function |
The function to invoke when the event is triggered. |
Promise
Sends a request to core for the capability, instead of checking cached capabilities
Kind: Instance method of SystemCapabilityManager
Returns: Promise
- Promise returning either the capability Object or null if not found
Param | Type | Description |
---|---|---|
systemCapabilityType | SystemCapabilityType |
A SystemCapabilityType enum value. |