DeviceManager

object DeviceManager

Types

Kind
Link copied to clipboard
enum Kind : Enum<DeviceManager.Kind>
OnDeviceAvailabilityChangeListener
Link copied to clipboard
interface OnDeviceAvailabilityChangeListener

Functions

getDefaultDevice
Link copied to clipboard
fun getDefaultDevice(kind: DeviceManager.Kind): String?
getDevices
Link copied to clipboard
fun getDevices(context: Context, kind: DeviceManager.Kind): List<String>
setDefaultDevice
Link copied to clipboard
fun setDefaultDevice(kind: DeviceManager.Kind, deviceId: String?)

Sources

SDK source
Link copied to clipboard