Class VideoView
Definition
- Namespace:
- Tizen.NUI.BaseComponents
- Assembly:
- Tizen.NUI.dll
- API Level:
- 3
VideoView is a control for video playback and display.
public class VideoView : View, INotifyPropertyChanged, IDynamicResourceHandler, IElement, INameScope, IElementController, IDisposable, IResourcesProvider
- Inheritance
-
Tizen.NUI.Binding.BindableObjectTizen.NUI.Binding.ElementVideoView
- Implements
Constructors
View SourceVideoView()
Creates an initialized VideoView.
Declaration
public VideoView()
API Level: 3
View SourceVideoView(String)
Creates an initialized VideoView.
If the string is empty, VideoView will not display anything.
Declaration
public VideoView(string url)
Parameters
Type | Name | Description |
---|---|---|
String | url | The URL of the video resource to display. |
API Level: 3
Properties
View SourceLooping
The looping status, true or false.
Declaration
public bool Looping { get; set; }
Property Value
Type | Description |
---|---|
Boolean |
API Level: 3
View SourceMuted
The mute status, true or false.
Declaration
public bool Muted { get; set; }
Property Value
Type | Description |
---|---|
Boolean |
API Level: 3
View SourceResourceUrl
Video file URL as string type.
Declaration
public string ResourceUrl { get; set; }
Property Value
Type | Description |
---|---|
String |
API Level: 4
View SourceUnderlay
Video rendering by underlay, true or false.
This shows video composited underneath the window by the system. This means it may ignore rotation of the video-view.
Declaration
public bool Underlay { get; set; }
Property Value
Type | Description |
---|---|
Boolean |
API Level: 4
View SourceVideo
Video file setting type of PropertyMap.
Declaration
public PropertyMap Video { get; set; }
Property Value
Type | Description |
---|---|
PropertyMap |
API Level: 3
View SourceVolume
The left and the right volume scalar as float type, PropertyMap with two values ( "left" and "right" ).
Declaration
public PropertyMap Volume { get; set; }
Property Value
Type | Description |
---|---|
PropertyMap |
API Level: 3
Methods
View SourceBackward(Int32)
Seeks backward by the specified number of milliseconds.
Declaration
public void Backward(int millisecond)
Parameters
Type | Name | Description |
---|---|---|
Int32 | millisecond | The position for backward playback. |
API Level: 3
View SourceDispose(DisposeTypes)
Dispose.
Declaration
protected override void Dispose(DisposeTypes type)
Parameters
Type | Name | Description |
---|---|---|
DisposeTypes | type | DisposeTypes |
Overrides
API Level: 3
View SourceForward(Int32)
Seeks forward by the specified number of milliseconds.
Declaration
public void Forward(int millisecond)
Parameters
Type | Name | Description |
---|---|---|
Int32 | millisecond | The position for forward playback. |
API Level: 3
View SourcePause()
Pauses the video playback.
Declaration
public void Pause()
API Level: 3
View SourcePlay()
Starts the video playback.
Declaration
public void Play()
API Level: 3
View SourceStop()
Stops the video playback.
Declaration
public void Stop()
API Level: 3
Events
View SourceFinished
Event for the finished signal which can be used to subscribe or unsubscribe the event handler
The finished signal is emitted when a video playback has finished.
Declaration
public event EventHandler<VideoView.FinishedEventArgs> Finished
Event Type
Type | Description |
---|---|
EventHandler<VideoView.FinishedEventArgs> |