Class SphericalVideo
Definition
- Namespace:
- Tizen.Multimedia
- Assembly:
- Tizen.Multimedia.MediaPlayer.dll
- API Level:
- 5
Provides the ability to control the spherical video for Player.
C#Copypublic class SphericalVideo
- Inheritance
-
System.ObjectSphericalVideo
Properties
Declaration
C#Copypublic bool IsEnabled { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
Exceptions
Type | Condition |
---|---|
System.NotSupportedException | The required feature is not supported. |
ObjectDisposedException | The player has already been disposed of. |
InvalidOperationException | The player is not in the valid state. |
API Level: 5
Feature: http://tizen.org/feature/opengles.version.2_0http://tizen.org/feature/multimedia.player.spherical_video
Declaration
C#Copypublic Player Player { get; }
Property Value
Type | Description |
---|---|
Player |
API Level: 5
Methods
Declaration
C#Copypublic DirectionOfView GetDirectionOfView()
Returns
Type | Description |
---|---|
DirectionOfView | The DirectionOfView containing the angle information. |
Exceptions
Type | Condition |
---|---|
System.NotSupportedException | The required feature is not supported. |
ObjectDisposedException | The Player that this instance belongs to has been disposed of. |
API Level: 5
Feature: http://tizen.org/feature/opengles.version.2_0http://tizen.org/feature/multimedia.player.spherical_video
Declaration
C#Copypublic FieldOfView GetFieldOfView()
Returns
Type | Description |
---|---|
FieldOfView | The FieldOfView containing the degree information to display. |
Exceptions
Type | Condition |
---|---|
System.NotSupportedException | The required feature is not supported. |
ObjectDisposedException | The Player that this instance belongs to has been disposed of. |
API Level: 5
Feature: http://tizen.org/feature/opengles.version.2_0http://tizen.org/feature/multimedia.player.spherical_video
Declaration
C#Copypublic float GetZoom()
Returns
Type | Description |
---|---|
Single | The current zoom level of spherical video. |
Exceptions
Type | Condition |
---|---|
System.NotSupportedException | The required feature is not supported. |
ObjectDisposedException | The player has already been disposed of. |
See Also
API Level: 5
Feature: http://tizen.org/feature/opengles.version.2_0http://tizen.org/feature/multimedia.player.spherical_video
IsSphericalContent()
Gets information whether the current content of the player is spherical.
Declaration
C#Copypublic bool IsSphericalContent()
Returns
Type | Description |
---|---|
System.Boolean | True if the current content is spherical; otherwise false. |
Remarks
Exceptions
Type | Condition |
---|---|
System.NotSupportedException | The required feature is not supported. |
ObjectDisposedException | The Player that this instance belongs to has been disposed of. |
InvalidOperationException | The Player that this instance belongs to is not in the valid state. |
API Level: 5
Feature: http://tizen.org/feature/opengles.version.2_0http://tizen.org/feature/multimedia.player.spherical_video
Declaration
C#Copypublic void SetDirectionOfView(DirectionOfView directionOfView)
Parameters
Type | Name | Description |
---|---|---|
DirectionOfView | directionOfView | The angle values around the vertical and lateral axis. |
Exceptions
Type | Condition |
---|---|
System.NotSupportedException | The required feature is not supported. |
ObjectDisposedException | The Player that this instance belongs to has been disposed of. |
System.ArgumentOutOfRangeException |
|
See Also
API Level: 5
Feature: http://tizen.org/feature/opengles.version.2_0http://tizen.org/feature/multimedia.player.spherical_video
Declaration
C#Copypublic void SetFieldOfView(FieldOfView fieldOfView)
Parameters
Type | Name | Description |
---|---|---|
FieldOfView | fieldOfView | The degree values to display. |
Exceptions
Type | Condition |
---|---|
System.NotSupportedException | The required feature is not supported. |
ObjectDisposedException | The Player that this instance belongs to has been disposed of. |
System.ArgumentOutOfRangeException |
|
See Also
API Level: 5
Feature: http://tizen.org/feature/opengles.version.2_0http://tizen.org/feature/multimedia.player.spherical_video
Declaration
C#Copypublic void SetZoom(float level)
Parameters
Type | Name | Description |
---|---|---|
Single | level | The zoom level. |
Exceptions
Type | Condition |
---|---|
System.NotSupportedException | The required feature is not supported. |
ObjectDisposedException | The player has already been disposed of. |
System.ArgumentOutOfRangeException |
|
See Also
API Level: 5
Feature: http://tizen.org/feature/opengles.version.2_0http://tizen.org/feature/multimedia.player.spherical_video
SetZoomWithFieldOfView(Single, FieldOfView)
Sets the zoom with the field of view for spherical video.
Declaration
C#Copypublic void SetZoomWithFieldOfView(float level, FieldOfView fieldOfView)
Parameters
Type | Name | Description |
---|---|---|
Single | level | The zoom level. |
FieldOfView | fieldOfView | The degree values to display. |
Exceptions
Type | Condition |
---|---|
System.NotSupportedException | The required feature is not supported. |
ObjectDisposedException | The Player that this instance belongs to has been disposed of. |
System.ArgumentOutOfRangeException |
|