Class AudioDeviceCapabilities
java.lang.Object
com.dsi.ant.plugins.antplus.pcc.controls.defines.AudioDeviceCapabilities
Represents the capabilities of an audio device
-
Field Summary
FieldsModifier and TypeFieldDescriptionbooleanIndicates whether a custom repeat mode is supportedbooleanIndicates whether a custom shuffle mode is supported -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic AudioDeviceCapabilitiesreadFromBundle(android.os.Bundle b) Creates an instance from the data saved in a bundle written bywriteToBundle(Bundle).voidwriteToBundle(android.os.Bundle b) Writes all the data in this object out to a bundle in a format that can be read byreadFromBundle(Bundle).
-
Field Details
-
customRepeatModeSupport
public boolean customRepeatModeSupportIndicates whether a custom repeat mode is supported -
customShuffleModeSupport
public boolean customShuffleModeSupportIndicates whether a custom shuffle mode is supported
-
-
Constructor Details
-
AudioDeviceCapabilities
public AudioDeviceCapabilities()
-
-
Method Details
-
readFromBundle
Creates an instance from the data saved in a bundle written bywriteToBundle(Bundle).- Parameters:
b- The bundle that contains the data.- Returns:
- A new
AudioDeviceCapabilitiesobject containing all the data from the bundle
-
writeToBundle
public void writeToBundle(android.os.Bundle b) Writes all the data in this object out to a bundle in a format that can be read byreadFromBundle(Bundle).- Parameters:
b- The bundle to write the data to.
-