Class SphericalVideo

    Definition

    Namespace:
    Tizen.Multimedia
    Assembly:
    Tizen.Multimedia.MediaPlayer.dll

    Provides the ability to control the spherical video for Player.

    public class SphericalVideo
    Inheritance
    object
    SphericalVideo

    Properties

    View Source

    IsEnabled

    Gets or sets the spherical mode.

    Declaration
    public bool IsEnabled { get; set; }
    Property Value
    Type Description
    bool
    View Source

    Player

    Gets the Player that owns this instance.

    Declaration
    public Player Player { get; }
    Property Value
    Type Description
    Player

    Methods

    View Source

    GetDirectionOfView()

    Gets the direction of view for spherical video.

    Declaration
    public DirectionOfView GetDirectionOfView()
    Returns
    Type Description
    DirectionOfView

    The DirectionOfView containing the angle information.

    View Source

    GetFieldOfView()

    Gets the field of view for spherical video.

    Declaration
    public FieldOfView GetFieldOfView()
    Returns
    Type Description
    FieldOfView

    The FieldOfView containing the degree information to display.

    View Source

    GetZoom()

    Gets the level of the zoom of spherical video.

    Declaration
    public float GetZoom()
    Returns
    Type Description
    float

    The current zoom level of spherical video.

    See Also
    SetZoom(float)
    View Source

    IsSphericalContent()

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

    Declaration
    public bool IsSphericalContent()
    Returns
    Type Description
    bool

    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.

    View Source

    SetDirectionOfView(DirectionOfView)

    Sets the direction of view for spherical video.

    Declaration
    public void SetDirectionOfView(DirectionOfView directionOfView)
    Parameters
    Type Name Description
    DirectionOfView directionOfView

    The angle values around the vertical and lateral axis.

    See Also
    DirectionOfView
    View Source

    SetFieldOfView(FieldOfView)

    Sets the field of view for spherical video.

    Declaration
    public void SetFieldOfView(FieldOfView fieldOfView)
    Parameters
    Type Name Description
    FieldOfView fieldOfView

    The degree values to display.

    See Also
    FieldOfView
    View Source

    SetZoom(float)

    Sets the level of the zoom of spherical video.

    Declaration
    public void SetZoom(float level)
    Parameters
    Type Name Description
    float level

    The zoom level.

    See Also
    GetZoom()
    View Source

    SetZoomWithFieldOfView(float, FieldOfView)

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

    Declaration
    public void SetZoomWithFieldOfView(float level, FieldOfView fieldOfView)
    Parameters
    Type Name Description
    float level

    The zoom level.

    FieldOfView fieldOfView

    The degree values to display.

    See Also
    FieldOfView
    GetZoom()

    Extension Methods

    EXamlExtensions.LoadFromEXamlByRelativePath<T>(T, string)
    Extensions.LoadFromXaml<TXaml>(TXaml, string)
    Extensions.LoadFromXaml<TXaml>(TXaml, Type)
    Extensions.LoadFromXamlFile<TXaml>(TXaml, string)
    • View Source
    Back to top Copyright © 2016-2025 Samsung
    Generated by DocFX