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#
Copy
public class SphericalVideo
Inheritance
System.Object
SphericalVideo

Properties

View Source

IsEnabled

Gets or sets the spherical mode.

Declaration
C#
Copy
public bool IsEnabled { get; set; }
Property Value
Type Description
Boolean
Exceptions
Type Condition
System.NotSupportedException

The required feature is not supported.

ObjectDisposedException

The player has already been disposed of.

System.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
View Source

Player

Gets the Player that owns this instance.

Declaration
C#
Copy
public Player Player { get; }
Property Value
Type Description
Player
API Level: 5

Methods

View Source

GetDirectionOfView()

Gets the direction of view for spherical video.

Declaration
C#
Copy
public 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
View Source

GetFieldOfView()

Gets the field of view for spherical video.

Declaration
C#
Copy
public 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
View Source

GetZoom()

Gets the level of the zoom of spherical video.

Declaration
C#
Copy
public float GetZoom()
Returns
Type Description
System.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
View Source

IsSphericalContent()

Gets information whether the current content of the player is spherical.

Declaration
C#
Copy
public bool IsSphericalContent()
Returns
Type Description
Boolean

True if the current content is spherical; otherwise false.

Remarks

The Player that owns this instance must be in the Ready, Playing, or Paused state.

Exceptions
Type Condition
System.NotSupportedException

The required feature is not supported.

ObjectDisposedException

The Player that this instance belongs to has been disposed of.

System.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
View Source

SetDirectionOfView(DirectionOfView)

Sets the direction of view for spherical video.

Declaration
C#
Copy
public 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

should be in range of [-3.141593, 3.141593].
-or-
should be in range of [-1.570796, 1.570796].

See Also
API Level: 5
Feature: http://tizen.org/feature/opengles.version.2_0http://tizen.org/feature/multimedia.player.spherical_video
View Source

SetFieldOfView(FieldOfView)

Sets the field of view for spherical video.

Declaration
C#
Copy
public 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

is less than 1.
-or-
is greater than 360.
-or-
is less than 1.
-or-
is greater than 180.

See Also
API Level: 5
Feature: http://tizen.org/feature/opengles.version.2_0http://tizen.org/feature/multimedia.player.spherical_video
View Source

SetZoom(Single)

Sets the level of the zoom of spherical video.

Declaration
C#
Copy
public void SetZoom(float level)
Parameters
Type Name Description
System.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

is less than 1.0. -or-
level is greater than 10.0.

See Also
API Level: 5
Feature: http://tizen.org/feature/opengles.version.2_0http://tizen.org/feature/multimedia.player.spherical_video
View Source

SetZoomWithFieldOfView(Single, FieldOfView)

Sets the zoom with the field of view for spherical video.

Declaration
C#
Copy
public void SetZoomWithFieldOfView(float level, FieldOfView fieldOfView)
Parameters
Type Name Description
System.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

is less than 1.0. -or-
level is greater than 10.0.
-or-
is less than 1.
-or-
is greater than 360.
-or-
is less than 1.
-or-
is greater than 180.

API Level: 5
Feature: http://tizen.org/feature/opengles.version.2_0http://tizen.org/feature/multimedia.player.spherical_video