Class MediaView
The MediaView class is an abstract class whose subclasses can be used to display the video output on the screen.
Inheritance
System.Object
Xamarin.Forms.BindableObject
Xamarin.Forms.Element
Xamarin.Forms.NavigableElement
Xamarin.Forms.VisualElement
Xamarin.Forms.View
Xamarin.Forms.Layout
Xamarin.Forms.Layout<Xamarin.Forms.View>
MediaView
Implements
System.ComponentModel.INotifyPropertyChanged
Xamarin.Forms.IAnimatable
Xamarin.Forms.ITabStopElement
Xamarin.Forms.IViewController
Xamarin.Forms.IVisualElementController
Xamarin.Forms.IElementController
Xamarin.Forms.Internals.IGestureController
Xamarin.Forms.IGestureRecognizers
Xamarin.Forms.ILayout
Xamarin.Forms.ILayoutController
Xamarin.Forms.IViewContainer<Xamarin.Forms.View>
Inherited Members
Xamarin.Forms.Layout<Xamarin.Forms.View>.OnChildAdded(Xamarin.Forms.Element)
Xamarin.Forms.Layout<Xamarin.Forms.View>.OnChildRemoved(Xamarin.Forms.Element)
Xamarin.Forms.Layout<Xamarin.Forms.View>.OnChildRemoved(Xamarin.Forms.Element, System.Int32)
Xamarin.Forms.Layout<Xamarin.Forms.View>.OnAdded(Xamarin.Forms.View)
Xamarin.Forms.Layout<Xamarin.Forms.View>.OnRemoved(Xamarin.Forms.View)
Xamarin.Forms.Layout<Xamarin.Forms.View>.Children
Xamarin.Forms.Layout.IsClippedToBoundsProperty
Xamarin.Forms.Layout.CascadeInputTransparentProperty
Xamarin.Forms.Layout.PaddingProperty
Xamarin.Forms.Layout.ForceLayout()
Xamarin.Forms.Layout.LayoutChildIntoBoundingRegion(Xamarin.Forms.VisualElement, Xamarin.Forms.Rectangle)
Xamarin.Forms.Layout.LowerChild(Xamarin.Forms.View)
Xamarin.Forms.Layout.RaiseChild(Xamarin.Forms.View)
Xamarin.Forms.Layout.InvalidateLayout()
Xamarin.Forms.Layout.OnChildMeasureInvalidated(System.Object, System.EventArgs)
Xamarin.Forms.Layout.OnChildMeasureInvalidated()
Xamarin.Forms.Layout.OnSizeAllocated(System.Double, System.Double)
Xamarin.Forms.Layout.ShouldInvalidateOnChildAdded(Xamarin.Forms.View)
Xamarin.Forms.Layout.ShouldInvalidateOnChildRemoved(Xamarin.Forms.View)
Xamarin.Forms.Layout.UpdateChildrenLayout()
Xamarin.Forms.Layout.ResolveLayoutChanges()
Xamarin.Forms.Layout.IsClippedToBounds
Xamarin.Forms.Layout.Padding
Xamarin.Forms.Layout.CascadeInputTransparent
Xamarin.Forms.Layout.LayoutChanged
Xamarin.Forms.View.VerticalOptionsProperty
Xamarin.Forms.View.HorizontalOptionsProperty
Xamarin.Forms.View.MarginProperty
Xamarin.Forms.View.GetChildElements(Xamarin.Forms.Point)
Xamarin.Forms.View.GestureController
Xamarin.Forms.View.GestureRecognizers
Xamarin.Forms.View.Xamarin.Forms.Internals.IGestureController.CompositeGestureRecognizers
Xamarin.Forms.View.HorizontalOptions
Xamarin.Forms.View.Margin
Xamarin.Forms.View.VerticalOptions
Xamarin.Forms.VisualElement.NavigationProperty
Xamarin.Forms.VisualElement.StyleProperty
Xamarin.Forms.VisualElement.InputTransparentProperty
Xamarin.Forms.VisualElement.IsEnabledProperty
Xamarin.Forms.VisualElement.XProperty
Xamarin.Forms.VisualElement.YProperty
Xamarin.Forms.VisualElement.AnchorXProperty
Xamarin.Forms.VisualElement.AnchorYProperty
Xamarin.Forms.VisualElement.TranslationXProperty
Xamarin.Forms.VisualElement.TranslationYProperty
Xamarin.Forms.VisualElement.WidthProperty
Xamarin.Forms.VisualElement.HeightProperty
Xamarin.Forms.VisualElement.RotationProperty
Xamarin.Forms.VisualElement.RotationXProperty
Xamarin.Forms.VisualElement.RotationYProperty
Xamarin.Forms.VisualElement.ScaleProperty
Xamarin.Forms.VisualElement.ScaleXProperty
Xamarin.Forms.VisualElement.ScaleYProperty
Xamarin.Forms.VisualElement.ClipProperty
Xamarin.Forms.VisualElement.VisualProperty
Xamarin.Forms.VisualElement.IsVisibleProperty
Xamarin.Forms.VisualElement.OpacityProperty
Xamarin.Forms.VisualElement.BackgroundColorProperty
Xamarin.Forms.VisualElement.BackgroundProperty
Xamarin.Forms.VisualElement.BehaviorsProperty
Xamarin.Forms.VisualElement.TriggersProperty
Xamarin.Forms.VisualElement.WidthRequestProperty
Xamarin.Forms.VisualElement.HeightRequestProperty
Xamarin.Forms.VisualElement.MinimumWidthRequestProperty
Xamarin.Forms.VisualElement.MinimumHeightRequestProperty
Xamarin.Forms.VisualElement.IsFocusedProperty
Xamarin.Forms.VisualElement.FlowDirectionProperty
Xamarin.Forms.VisualElement.TabIndexProperty
Xamarin.Forms.VisualElement.IsTabStopProperty
Xamarin.Forms.VisualElement.OnTabIndexPropertyChanged(System.Int32, System.Int32)
Xamarin.Forms.VisualElement.TabIndexDefaultValueCreator()
Xamarin.Forms.VisualElement.OnTabStopPropertyChanged(System.Boolean, System.Boolean)
Xamarin.Forms.VisualElement.TabStopDefaultValueCreator()
Xamarin.Forms.VisualElement.BatchBegin()
Xamarin.Forms.VisualElement.BatchCommit()
Xamarin.Forms.VisualElement.Focus()
Xamarin.Forms.VisualElement.Layout(Xamarin.Forms.Rectangle)
Xamarin.Forms.VisualElement.Measure(System.Double, System.Double, Xamarin.Forms.MeasureFlags)
Xamarin.Forms.VisualElement.Unfocus()
Xamarin.Forms.VisualElement.InvalidateMeasure()
Xamarin.Forms.VisualElement.OnChildrenReordered()
Xamarin.Forms.VisualElement.SizeAllocated(System.Double, System.Double)
Xamarin.Forms.VisualElement.Xamarin.Forms.IVisualElementController.InvalidateMeasure(Xamarin.Forms.Internals.InvalidationTrigger)
Xamarin.Forms.VisualElement.ChangeVisualState()
Xamarin.Forms.VisualElement.Visual
Xamarin.Forms.VisualElement.FlowDirection
Xamarin.Forms.VisualElement.Xamarin.Forms.IVisualElementController.EffectiveFlowDirection
Xamarin.Forms.VisualElement.AnchorX
Xamarin.Forms.VisualElement.AnchorY
Xamarin.Forms.VisualElement.BackgroundColor
Xamarin.Forms.VisualElement.Background
Xamarin.Forms.VisualElement.Behaviors
Xamarin.Forms.VisualElement.Bounds
Xamarin.Forms.VisualElement.Height
Xamarin.Forms.VisualElement.HeightRequest
Xamarin.Forms.VisualElement.InputTransparent
Xamarin.Forms.VisualElement.IsEnabled
Xamarin.Forms.VisualElement.IsFocused
Xamarin.Forms.VisualElement.IsVisible
Xamarin.Forms.VisualElement.MinimumHeightRequest
Xamarin.Forms.VisualElement.MinimumWidthRequest
Xamarin.Forms.VisualElement.Opacity
Xamarin.Forms.VisualElement.Rotation
Xamarin.Forms.VisualElement.RotationX
Xamarin.Forms.VisualElement.RotationY
Xamarin.Forms.VisualElement.Scale
Xamarin.Forms.VisualElement.ScaleX
Xamarin.Forms.VisualElement.ScaleY
Xamarin.Forms.VisualElement.TabIndex
Xamarin.Forms.VisualElement.IsTabStop
Xamarin.Forms.VisualElement.TranslationX
Xamarin.Forms.VisualElement.TranslationY
Xamarin.Forms.VisualElement.Triggers
Xamarin.Forms.VisualElement.Width
Xamarin.Forms.VisualElement.WidthRequest
Xamarin.Forms.VisualElement.X
Xamarin.Forms.VisualElement.Y
Xamarin.Forms.VisualElement.Clip
Xamarin.Forms.VisualElement.Resources
Xamarin.Forms.VisualElement.ChildrenReordered
Xamarin.Forms.VisualElement.Focused
Xamarin.Forms.VisualElement.MeasureInvalidated
Xamarin.Forms.VisualElement.SizeChanged
Xamarin.Forms.VisualElement.Unfocused
Xamarin.Forms.NavigableElement.OnParentSet()
Xamarin.Forms.NavigableElement.Navigation
Xamarin.Forms.NavigableElement.Style
Xamarin.Forms.NavigableElement.StyleClass
Xamarin.Forms.NavigableElement.class
Xamarin.Forms.Element.MenuProperty
Xamarin.Forms.Element.AutomationIdProperty
Xamarin.Forms.Element.ClassIdProperty
Xamarin.Forms.Element.GetMenu(Xamarin.Forms.BindableObject)
Xamarin.Forms.Element.SetMenu(Xamarin.Forms.BindableObject, Xamarin.Forms.Menu)
Xamarin.Forms.Element.Xamarin.Forms.IElementController.SetValueFromRenderer(Xamarin.Forms.BindableProperty, System.Object)
Xamarin.Forms.Element.FindByName(System.String)
Xamarin.Forms.Element.RemoveDynamicResource(Xamarin.Forms.BindableProperty)
Xamarin.Forms.Element.SetDynamicResource(Xamarin.Forms.BindableProperty, System.String)
Xamarin.Forms.Element.OnPropertyChanged(System.String)
Xamarin.Forms.Element.AutomationId
Xamarin.Forms.Element.ClassId
Xamarin.Forms.Element.Effects
Xamarin.Forms.Element.Id
Xamarin.Forms.Element.StyleId
Xamarin.Forms.Element.Parent
Xamarin.Forms.Element.ChildAdded
Xamarin.Forms.Element.ChildRemoved
Xamarin.Forms.Element.DescendantAdded
Xamarin.Forms.Element.DescendantRemoved
Xamarin.Forms.BindableObject.BindingContextProperty
Xamarin.Forms.BindableObject.ClearValue(Xamarin.Forms.BindableProperty)
Xamarin.Forms.BindableObject.ClearValue(Xamarin.Forms.BindablePropertyKey)
Xamarin.Forms.BindableObject.GetValue(Xamarin.Forms.BindableProperty)
Xamarin.Forms.BindableObject.IsSet(Xamarin.Forms.BindableProperty)
Xamarin.Forms.BindableObject.RemoveBinding(Xamarin.Forms.BindableProperty)
Xamarin.Forms.BindableObject.SetBinding(Xamarin.Forms.BindableProperty, Xamarin.Forms.BindingBase)
Xamarin.Forms.BindableObject.ApplyBindings()
Xamarin.Forms.BindableObject.OnPropertyChanging(System.String)
Xamarin.Forms.BindableObject.UnapplyBindings()
Xamarin.Forms.BindableObject.SetValue(Xamarin.Forms.BindableProperty, System.Object)
Xamarin.Forms.BindableObject.SetValue(Xamarin.Forms.BindablePropertyKey, System.Object)
Xamarin.Forms.BindableObject.CoerceValue(Xamarin.Forms.BindableProperty)
Xamarin.Forms.BindableObject.CoerceValue(Xamarin.Forms.BindablePropertyKey)
Xamarin.Forms.BindableObject.Dispatcher
Xamarin.Forms.BindableObject.BindingContext
Xamarin.Forms.BindableObject.PropertyChanged
Xamarin.Forms.BindableObject.PropertyChanging
Xamarin.Forms.BindableObject.BindingContextChanged
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Tizen.Theme.Common
Assembly: Tizen.Theme.Common.dll
Syntax
[ContentProperty("Player")]
public abstract class MediaView : Layout<View>, INotifyPropertyChanged, IDynamicResourceHandler, IElement, INameScope, INavigationProxy, IStyleSelectable, IAnimatable, IResourcesProvider, IStyleElement, IFlowDirectionController, IPropertyPropagationController, IVisualController, ITabStopElement, IStylable, IViewController, IVisualElementController, IElementController, IGestureController, IGestureRecognizers, ILayout, ILayoutController, IPaddingElement, IViewContainer<View>, IVideoOutput
Fields
PlayerProperty
Identifies the Player bindable property.
Declaration
public static readonly BindableProperty PlayerProperty
Field Value
Type | Description |
---|---|
Xamarin.Forms.BindableProperty |
Properties
OuputType
Gets the video output type.
Declaration
public virtual VideoOuputType OuputType { get; }
Property Value
Type | Description |
---|---|
VideoOuputType |
Player
Gets or sets the media player.
Declaration
public MediaPlayer Player { get; set; }
Property Value
Type | Description |
---|---|
MediaPlayer |
Methods
LayoutChildren(Double, Double, Double, Double)
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 |
Overrides
Xamarin.Forms.Layout.LayoutChildren(System.Double, System.Double, System.Double, System.Double)
OnBindingContextChanged()
Declaration
protected override void OnBindingContextChanged()
Overrides
Xamarin.Forms.View.OnBindingContextChanged()
OnMeasure(Double, Double)
Declaration
protected override SizeRequest OnMeasure(double widthConstraint, double heightConstraint)
Parameters
Type | Name | Description |
---|---|---|
System.Double | widthConstraint | |
System.Double | heightConstraint |
Returns
Type | Description |
---|---|
Xamarin.Forms.SizeRequest |
Overrides
Xamarin.Forms.VisualElement.OnMeasure(System.Double, System.Double)
Explicit Interface Implementations
IVideoOutput.Controller
Declaration
View IVideoOutput.Controller { get; set; }
Returns
Type | Description |
---|---|
Xamarin.Forms.View |
IVideoOutput.MediaView
Declaration
VisualElement IVideoOutput.MediaView { get; }
Returns
Type | Description |
---|---|
Xamarin.Forms.VisualElement |
Implements
System.ComponentModel.INotifyPropertyChanged
Xamarin.Forms.IAnimatable
Xamarin.Forms.ITabStopElement
Xamarin.Forms.IViewController
Xamarin.Forms.IVisualElementController
Xamarin.Forms.IElementController
Xamarin.Forms.Internals.IGestureController
Xamarin.Forms.IGestureRecognizers
Xamarin.Forms.ILayout
Xamarin.Forms.ILayoutController
Xamarin.Forms.IViewContainer<T>