Package com.amazonaws.ivs.broadcast
Class Device.Descriptor
- java.lang.Object
- 
- com.amazonaws.ivs.broadcast.Device.Descriptor
 
- 
- Enclosing class:
- Device
 
 public static class Device.Descriptor extends java.lang.ObjectRepresents an input device's description. This can be used to identify the device without opening or attaching it.
- 
- 
Nested Class SummaryNested Classes Modifier and Type Class Description static classDevice.Descriptor.DeviceTypestatic classDevice.Descriptor.PositionPhysical device positionstatic classDevice.Descriptor.StreamTypeMedia types present in a stream
 - 
Field SummaryFields Modifier and Type Field Description AudioDevice.FormataudioFormatMicrophone audio formatandroid.hardware.camera2.CameraCharacteristicscameraCharacteristicsAndroid-specific characteristics for camerasintchannelCountMicrophone channel countstatic java.lang.StringDEFAULT_IDjava.lang.StringdeviceIdSystem deviceId.java.lang.StringfriendlyNameA human-readable namebooleanisDefaultDefault device indicatorintpixelHeightintpixelWidthCamera pixel dimensionsDevice.Descriptor.PositionpositionThe physical location of the device, if it can be determinedfloatrotationCamera rotationintsampleRateMicrophone sample rateDevice.Descriptor.StreamType[]streamsThe types of streams supported by the deviceDevice.Descriptor.DeviceTypetypeThe device type or familyjava.lang.StringurnUnique device locator.
 - 
Constructor SummaryConstructors Constructor Description Descriptor()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanhasStream(Device.Descriptor.StreamType wants)booleanisValid()
 
- 
- 
- 
Field Detail- 
deviceIdpublic java.lang.String deviceId System deviceId. These may not be unique as the system may reuse device ids for different types
 - 
urnpublic java.lang.String urn Unique device locator. this will be unique but it may be generated internally and may not match system addresses.
 - 
friendlyNamepublic java.lang.String friendlyName A human-readable name
 - 
typepublic Device.Descriptor.DeviceType type The device type or family
 - 
streamspublic Device.Descriptor.StreamType[] streams The types of streams supported by the device
 - 
positionpublic Device.Descriptor.Position position The physical location of the device, if it can be determined
 - 
cameraCharacteristicspublic android.hardware.camera2.CameraCharacteristics cameraCharacteristics Android-specific characteristics for cameras
 - 
pixelWidthpublic int pixelWidth Camera pixel dimensions
 - 
pixelHeightpublic int pixelHeight 
 - 
rotationpublic float rotation Camera rotation
 - 
sampleRatepublic int sampleRate Microphone sample rate
 - 
channelCountpublic int channelCount Microphone channel count
 - 
audioFormatpublic AudioDevice.Format audioFormat Microphone audio format
 - 
isDefaultpublic boolean isDefault Default device indicator
 - 
DEFAULT_IDpublic static final java.lang.String DEFAULT_ID - See Also:
- Constant Field Values
 
 
- 
 - 
Method Detail- 
hasStreampublic boolean hasStream(Device.Descriptor.StreamType wants) 
 - 
isValidpublic boolean isValid() 
 
- 
 
-