Package com.cygnusreach.media

Types

Link copied to clipboard
data class CameraFormat(    val cameraName: String,     val isFrontFacing: Boolean,     val format: FrameFormat) : IMediaConfiguration

Camera name and frame format

Link copied to clipboard
data class CameraInfo(    val name: String,     val isFrontFacing: Boolean,     val formats: Iterable<FrameFormat>)

Camera name and supported formats

Link copied to clipboard
data class FrameFormat(val frameSize: FrameSize, val frameRate: FrameRateRange) : Comparable<FrameFormat>

Frame format including size and framerate

Link copied to clipboard
data class FrameRateRange(val min: Int, val max: Int) : ClosedRange<Int>

Range of frame rates

Link copied to clipboard
data class FrameSize(val width: Int, val height: Int) : Comparable<FrameSize>

Frame size with operators to support scaling

Link copied to clipboard
interface ICameraStreamController : IMediaStreamController

Controller for a media stream bound to the device camera

Link copied to clipboard
interface IMediaConfiguration

Marker interface for media configuration classes

Link copied to clipboard
interface IMediaStreamController

Controller for local media streams

Link copied to clipboard
interface IScreenCaptureController : IMediaStreamController

Controller for the media stream bound to a screen recorder

Link copied to clipboard
interface IScreenCaptureInitializer

Initializes the android screen capture service. Implementation depends on API level and app compat library used

Link copied to clipboard
class ScreenCaptureInitializer(activity: Activity, requestCode: Int = Int.MAX_VALUE - 1024) : IScreenCaptureInitializer

Screen capture initializer designed for use with android.app.Activity and the android.app.Activity.startActivityForResult / processActivityResult methods.

Link copied to clipboard
data class ScreenFormat(val screenCaptureInitializer: IScreenCaptureInitializer, val format: FrameSize) : IMediaConfiguration, IScreenCaptureInitializer

Screen capture frame format