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 : object
Inheritance
SphericalVideo

Properties

View Source

IsEnabled

Gets or sets the spherical mode.

Declaration
C#
Copy
public bool IsEnabled { get; set; }
Property Value
Type Description
Boolean
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.

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.

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
Single

The current zoom level of spherical video.

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.

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.

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.

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
Single level

The zoom level.

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
Single level

The zoom level.

FieldOfView fieldOfView

The degree values to display.

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

Extension Methods