-
Notifications
You must be signed in to change notification settings - Fork 2
AudioDeviceType
Lejla Solak edited this page Feb 10, 2025
·
2 revisions
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- The value of thenamefield representing a human-readable name describing the audio device type.
String typeName = AudioDeviceType.BLUETOOTH.getName();Getter for the priorityLevel field.
none
-
int- The value of thepriorityLevelfield 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();