Class VideoView
Definition
- Namespace:
- Tizen.NUI.BaseComponents
- Assembly:
- Tizen.NUI.dll
VideoView is a control for video playback and display.
C#Copypublic class VideoView : View, INotifyPropertyChanged, IDisposable
- Inheritance
-
objectTizen.NUI.Binding.BindableObjectTizen.NUI.Binding.ElementVideoView
- Implements
-
System.ComponentModel.INotifyPropertyChangedSystem.IDisposable
Constructors
Declaration
C#Copypublic VideoView()
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 |
|---|---|---|
| string | url | The URL of the video resource to display. |
Properties
Declaration
C#Copypublic bool Looping { get; set; }
Property Value
| Type | Description |
|---|---|
| bool |
Declaration
C#Copypublic bool Muted { get; set; }
Property Value
| Type | Description |
|---|---|
| bool |
Declaration
C#Copypublic string ResourceUrl { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
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 |
|---|---|
| bool |
Declaration
C#Copypublic PropertyMap Video { get; set; }
Property Value
| Type | Description |
|---|---|
| PropertyMap |
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 |
Methods
Declaration
C#Copypublic void Backward(int millisecond)
Parameters
| Type | Name | Description |
|---|---|---|
| int | millisecond | The position for backward playback. |
Declaration
C#Copyprotected override void Dispose(DisposeTypes type)
Parameters
| Type | Name | Description |
|---|---|---|
| DisposeTypes | type | DisposeTypes |
Overrides
Declaration
C#Copypublic void Forward(int millisecond)
Parameters
| Type | Name | Description |
|---|---|---|
| int | millisecond | The position for forward playback. |
Declaration
C#Copypublic void Pause()
Declaration
C#Copypublic void Play()
Declaration
C#Copypublic void Stop()
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<TEventArgs><VideoView.FinishedEventArgs> |
Implements
System.ComponentModel.INotifyPropertyChanged
System.IDisposable