Class VideoView
Definition
- Namespace:
- Tizen.NUI.BaseComponents
- Assembly:
- Tizen.NUI.dll
- API Level:
- 3
VideoView is a control for video playback and display.
C#Copypublic class VideoView : View, INotifyPropertyChanged, IDynamicResourceHandler, IElement, INameScope, IElementController, IDisposable, IResourcesProvider
- Inheritance
-
System.ObjectTizen.NUI.Binding.BindableObjectTizen.NUI.Binding.ElementVideoView
- Implements
-
System.ComponentModel.INotifyPropertyChangedSystem.IDisposable
Constructors
Declaration
C#Copypublic VideoView()
API Level: 3
View Source
VideoView(String)
Creates an initialized VideoView.
If the string is empty, VideoView will not display anything.
Declaration
C#Copypublic VideoView(string url)
Parameters
Type | Name | Description |
---|---|---|
System.String | url | The URL of the video resource to display. |
API Level: 3
Properties
Declaration
C#Copypublic bool Looping { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
API Level: 3
Declaration
C#Copypublic bool Muted { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
API Level: 3
Declaration
C#Copypublic string ResourceUrl { get; set; }
Property Value
Type | Description |
---|---|
System.String |
API Level: 4
View Source
Underlay
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
C#Copypublic bool Underlay { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
API Level: 4
Declaration
C#Copypublic PropertyMap Video { get; set; }
Property Value
Type | Description |
---|---|
PropertyMap |
API Level: 3
View Source
Volume
The left and the right volume scalar as float type, PropertyMap with two values ( "left" and "right" ).
Declaration
C#Copypublic PropertyMap Volume { get; set; }
Property Value
Type | Description |
---|---|
PropertyMap |
API Level: 3
Methods
Declaration
C#Copypublic void Backward(int millisecond)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | millisecond | The position for backward playback. |
API Level: 3
Declaration
C#Copyprotected override void Dispose(DisposeTypes type)
Parameters
Type | Name | Description |
---|---|---|
DisposeTypes | type | DisposeTypes |
Overrides
API Level: 3
Declaration
C#Copypublic void Forward(int millisecond)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | millisecond | The position for forward playback. |
API Level: 3
Declaration
C#Copypublic void Pause()
API Level: 3
Declaration
C#Copypublic void Play()
API Level: 3
Declaration
C#Copypublic void Stop()
API Level: 3
Events
View Source
Finished
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
C#Copypublic event EventHandler<VideoView.FinishedEventArgs> Finished
Event Type
Type | Description |
---|---|
System.EventHandler<VideoView.FinishedEventArgs> |
API Level: 3
Implements
System.ComponentModel.INotifyPropertyChanged
System.IDisposable