-
Notifications
You must be signed in to change notification settings - Fork 2
AudioDeviceType
Lejla Solak edited this page Jun 7, 2023
·
1 revision
Audio device type representing bluetooth headset. Has the highest priority level 4.
Audio device type representing wired headset. Has the priority level 3.
Audio device type representing earpiece. Has the priority level 2.
Audio device type representing speaker. Has the lowest priority level 1.
Getter for the name
field.
none
-
String
- Value of thename
field representing a human-readable name describing the audio device type.
String typeName = AudioDeviceType.BLUETOOTH.getName();
Getter for the priorityLevel
field.
none
-
int
- Value of thepriorityLevel
field representing the priority level of the audio device type. The value ranges from 1 to 4, where 1 represents the lowest priority and 4 represents the highest priority level.
int priorityLevel = AudioDeviceType.BLUETOOTH.getPriorityLevel();