Class ImageViewSink
An Image ViewSink.
Inheritance
System.Object
MediaSink<IVideoOutput, IVideoOutputCollection, IVideoInput, VideoSink, VideoFrame, VideoBuffer, VideoBufferCollection, VideoFormat>
ViewSink<UIImageView>
ImageViewSink
Implements
IViewSink<UIImageView>
Inherited Members
Namespace: FM.LiveSwitch.Cocoa
Assembly: FM.LiveSwitch.Cocoa.dll
Syntax
public class ImageViewSink : ViewSink<UIImageView>, IVideoInput, IMediaInput<IVideoOutput, IVideoInput, VideoFrame, VideoBuffer, VideoBufferCollection, VideoFormat>, IInput<IVideoOutput, IVideoInput, VideoFrame, VideoBuffer, VideoBufferCollection, VideoFormat>, IVideoElement, IMediaElement, IElement, IViewSink<UIImageView>
Constructors
ImageViewSink()
Initializes a new instance of the ImageViewSink class.
Declaration
public ImageViewSink()
ImageViewSink(IVideoOutput)
Initializes a new instance of the ImageViewSink class.
Declaration
public ImageViewSink(IVideoOutput input)
Parameters
Type | Name | Description |
---|---|---|
IVideoOutput | input | The input. |
ImageViewSink(IVideoOutput[])
Initializes a new instance of the ImageViewSink class.
Declaration
public ImageViewSink(IVideoOutput[] inputs)
Parameters
Type | Name | Description |
---|---|---|
IVideoOutput[] | inputs | The inputs. |
ImageViewSink(UIImageView)
Initializes a new instance of the ImageViewSink class.
Declaration
public ImageViewSink(UIImageView view)
Parameters
Type | Name | Description |
---|---|---|
UIImageView | view | The view. |
ImageViewSink(UIImageView, IVideoOutput)
Initializes a new instance of the ImageViewSink class.
Declaration
public ImageViewSink(UIImageView view, IVideoOutput input)
Parameters
Type | Name | Description |
---|---|---|
UIImageView | view | The view. |
IVideoOutput | input | The input. |
ImageViewSink(UIImageView, IVideoOutput[])
Initializes a new instance of the ImageViewSink class.
Declaration
public ImageViewSink(UIImageView view, IVideoOutput[] inputs)
Parameters
Type | Name | Description |
---|---|---|
UIImageView | view | The view. |
IVideoOutput[] | inputs | The inputs. |
Properties
Label
Gets a label that identifies this class.
Declaration
public override string Label { get; }
Property Value
Type | Description |
---|---|
System.String |
Overrides
FM.LiveSwitch.MediaSink<FM.LiveSwitch.IVideoOutput, FM.LiveSwitch.IVideoOutputCollection, FM.LiveSwitch.IVideoInput, FM.LiveSwitch.VideoSink, FM.LiveSwitch.VideoFrame, FM.LiveSwitch.VideoBuffer, FM.LiveSwitch.VideoBufferCollection, FM.LiveSwitch.VideoFormat>.Label
View
Gets the view.
Declaration
public override UIImageView View { get; }
Property Value
Type | Description |
---|---|
UIImageView |
Overrides
FM.LiveSwitch.ViewSink<UIImageView>.View
ViewMirror
Gets or sets a value indicating whether the view is mirrored.
Declaration
public override bool ViewMirror { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
Overrides
FM.LiveSwitch.ViewSink<UIImageView>.ViewMirror
ViewScale
Gets or sets the view scale.
Declaration
public override LayoutScale ViewScale { get; set; }
Property Value
Type | Description |
---|---|
LayoutScale |
Overrides
FM.LiveSwitch.ViewSink<UIImageView>.ViewScale
Methods
RenderBuffer(VideoBuffer)
Renders the buffer.
Declaration
protected override void RenderBuffer(VideoBuffer inputBuffer)
Parameters
Type | Name | Description |
---|---|---|
VideoBuffer | inputBuffer | The input buffer. |
Overrides
FM.LiveSwitch.ViewSink<UIImageView>.RenderBuffer(FM.LiveSwitch.VideoBuffer)