Package com.amazonaws.ivs.broadcast
Class CameraSource
- java.lang.Object
- 
- com.amazonaws.ivs.broadcast.Device
- 
- com.amazonaws.ivs.broadcast.ImageDevice
- 
- com.amazonaws.ivs.broadcast.SurfaceSource
- 
- com.amazonaws.ivs.broadcast.CameraSource
 
 
 
 
- 
 public class CameraSource extends SurfaceSource CameraSource represents a camera input device
- 
- 
Nested Class Summary- 
Nested classes/interfaces inherited from class com.amazonaws.ivs.broadcast.ImageDeviceImageDevice.FrameCallback, ImageDevice.Rotation
 - 
Nested classes/interfaces inherited from class com.amazonaws.ivs.broadcast.DeviceDevice.Descriptor
 
- 
 - 
Field Summary- 
Fields inherited from class com.amazonaws.ivs.broadcast.SurfaceSourcecontext, handle, shouldRotateOnConfigurationChanges
 
- 
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description Device.DescriptorgetDescriptor()voidsetRotation(float rotation)Sets the rotation of the ImageDevice.- 
Methods inherited from class com.amazonaws.ivs.broadcast.SurfaceSourcegetHandle, getInputSurface, getPreviewSurfaceTarget, getPreviewSurfaceView, getPreviewTextureView, getTag, isValid, rotateOnConfigurationChanges, setInputSurface, setOnFrameCallback, setSize, willRotateOnConfigurationChanges
 - 
Methods inherited from class com.amazonaws.ivs.broadcast.ImageDevicegetPreviewSurfaceTarget, getPreviewSurfaceView, getPreviewTextureView, getPreviewView, getPreviewView, setRotation
 
- 
 
- 
- 
- 
Method Detail- 
getDescriptorpublic Device.Descriptor getDescriptor() - Overrides:
- getDescriptorin class- SurfaceSource
- Returns:
- the Device.Descriptor that represents this camera
 
 - 
setRotationpublic void setRotation(float rotation) Description copied from class:ImageDeviceSets the rotation of the ImageDevice.- Overrides:
- setRotationin class- SurfaceSource
- Parameters:
- rotation- Rotation in radians
 
 
- 
 
-