Share via


MediaElement Class

Definition

public class MediaElement : Xamarin.Forms.View, Xamarin.CommunityToolkit.UI.Views.IMediaElementController
Inheritance
MediaElement
Implements

Constructors

MediaElement()

Fields

AspectProperty
AutoPlayProperty
BufferingProgressProperty
CurrentStateProperty
DurationProperty
IsLoopingProperty
KeepScreenOnProperty
PositionProperty
ShowsPlaybackControlsProperty
SourceProperty
VideoHeightProperty
VideoWidthProperty
VolumeProperty

Properties

Aspect
AutoPlay
BufferingProgress
CanSeek
CurrentState
Duration
IsLooping
KeepScreenOn
Position
ShowsPlaybackControls
Source
VideoHeight
VideoWidth
Volume

Methods

OnBindingContextChanged()
Pause()
Play()
Stop()

Events

MediaEnded
MediaFailed
MediaOpened
SeekCompleted

Explicit Interface Implementations

IMediaElementController.BufferingProgress
IMediaElementController.CurrentState
IMediaElementController.Duration
IMediaElementController.OnMediaEnded()
IMediaElementController.OnMediaFailed()
IMediaElementController.OnMediaOpened()
IMediaElementController.OnSeekCompleted()
IMediaElementController.Position
IMediaElementController.VideoHeight
IMediaElementController.VideoWidth
IMediaElementController.Volume

Applies to