Class MediaView
The MediaView class is used to display the video output on the screen.
Inheritance
System.Object
MediaView
Assembly: Tizen.Wearable.CircularUI.Forms.dll
public class MediaView : Layout<View>, IVideoOutput
Fields
Identifies the Player bindable property.
Declaration
public static readonly BindableProperty PlayerProperty
Field Value
Type |
Description |
BindableProperty |
|
Properties
Gets the video output type.
Declaration
public virtual VideoOuputType OuputType { get; }
Property Value
Gets or sets the media player.
Declaration
public MediaPlayer Player { get; set; }
Property Value
Methods
Declaration
protected override void LayoutChildren(double x, double y, double width, double height)
Parameters
Type |
Name |
Description |
System.Double |
x |
|
System.Double |
y |
|
System.Double |
width |
|
System.Double |
height |
|
OnBindingContextChanged()
Declaration
protected override void OnBindingContextChanged()
Declaration
protected override SizeRequest OnMeasure(double widthConstraint, double heightConstraint)
Parameters
Type |
Name |
Description |
System.Double |
widthConstraint |
|
System.Double |
heightConstraint |
|
Returns
Type |
Description |
SizeRequest |
|
Explicit Interface Implementations
Declaration
View IVideoOutput.Controller { get; set; }
Returns
Declaration
VisualElement IVideoOutput.MediaView { get; }
Returns
Type |
Description |
VisualElement |
|
Implements