amazon-chime-sdk / com.amazonaws.services.chime.sdk.meetings.device / MediaDevice

MediaDevice

data class MediaDevice

Media device with its info.

Constructors

<init>

Media device with its info.

MediaDevice(label: String, type: MediaDeviceType, id: String? = null)

Properties

id

: String - Unique ID, if applicable

val id: String?

label

: String - human readable string describing the device.

val label: String

order

val order: Int

type

: MediaDeviceType - media device type

val type: MediaDeviceType

Functions

toString

fun toString(): String

Companion Object Functions

listSupportedVideoCaptureFormats

Lists currently available video devices.

fun listSupportedVideoCaptureFormats(cameraManager: CameraManager, mediaDevice: MediaDevice, maxVideoFps: Int = DEFAULT_MAX_VIDEO_FORMAT_FPS, maxVideoWidth: Int = DEFAULT_MAX_VIDEO_WIDTH, maxVideoHeight: Int = DEFAULT_MAX_VIDEO_HEIGHT): List<VideoCaptureFormat>

listVideoDevices

Lists currently available video devices.

fun listVideoDevices(cameraManager: CameraManager): List<MediaDevice>