public static final enum

SkylinkConfig.VideoDevice

extends Enum<E extends Enum<E>>
implements SkylinkConfig.MediaDevice
java.lang.Object
   ↳ java.lang.Enum<E extends java.lang.Enum<E>>
     ↳ sg.com.temasys.skylink.sdk.rtc.SkylinkConfig.VideoDevice

Class Overview

A list of device(s) that can be the source of a video stream.

Summary

Enum Values
SkylinkConfig.VideoDevice  CAMERA_BACK  The back facing camera, usually on the opposite side as the main device screen. 
SkylinkConfig.VideoDevice  CAMERA_FRONT  The front facing camera, usually on the same side as the main device screen. 
SkylinkConfig.VideoDevice  DEVICE_CUSTOM  A custom device that can be a source of video and that is not one of other devices provided by this enum. 
SkylinkConfig.VideoDevice  SCREEN  The device screen, which can be captured to obtain a video stream. 
Public Methods
String getDeviceName()
Get the descriptive name of this SkylinkConfig.MediaDevice.
SkylinkMedia.MediaType getMediaType()
Get the SkylinkMedia.MediaType that this device can produce.
boolean isAudio()
Check if this SkylinkConfig.MediaDevice is of Audio type or not.
boolean isVideo()
Check if this SkylinkConfig.MediaDevice is of Video type or not.
static SkylinkConfig.VideoDevice valueOf(String name)
final static VideoDevice[] values()
[Expand]
Inherited Methods
From class java.lang.Enum
From class java.lang.Object
From interface java.lang.Comparable
From interface sg.com.temasys.skylink.sdk.rtc.SkylinkConfig.MediaDevice

Enum Values

public static final SkylinkConfig.VideoDevice CAMERA_BACK

The back facing camera, usually on the opposite side as the main device screen.

public static final SkylinkConfig.VideoDevice CAMERA_FRONT

The front facing camera, usually on the same side as the main device screen.

public static final SkylinkConfig.VideoDevice DEVICE_CUSTOM

A custom device that can be a source of video and that is not one of other devices provided by this enum. The use of this device will also require a custom VideoCapturer to be provided in createLocalMedia(MediaDevice, Object, VideoCapturer, int, int, int, SkylinkCallback), which must conform to org.webrtc.VideoCapturer.

public static final SkylinkConfig.VideoDevice SCREEN

The device screen, which can be captured to obtain a video stream.

Public Methods

public String getDeviceName ()

Get the descriptive name of this SkylinkConfig.MediaDevice.

public SkylinkMedia.MediaType getMediaType ()

Get the SkylinkMedia.MediaType that this device can produce.

public boolean isAudio ()

Check if this SkylinkConfig.MediaDevice is of Audio type or not.

public boolean isVideo ()

Check if this SkylinkConfig.MediaDevice is of Video type or not.

public static SkylinkConfig.VideoDevice valueOf (String name)

public static final VideoDevice[] values ()