Class PlayerDisplaySettings

Definition

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

Provides a means to configure display settings for video Player.

C#
Copy
public class PlayerDisplaySettings
Inheritance
object
PlayerDisplaySettings

Properties

View Source

IsVisible

Gets or sets the value indicating whether the display is visible.

Declaration
C#
Copy
public bool IsVisible { get; set; }
Property Value
Type Description
bool

true if the display is visible; otherwise false.

Exceptions
Type Condition
System.InvalidOperationException

Operation failed; internal error.

System.ObjectDisposedException

The player has already been disposed of.

View Source

Mode

Gets or sets the PlayerDisplayMode of the player.

Declaration
C#
Copy
public PlayerDisplayMode Mode { get; set; }
Property Value
Type Description
PlayerDisplayMode
Exceptions
Type Condition
System.InvalidOperationException

Operation failed; internal error.

System.ObjectDisposedException

The player has already been disposed of.

System.ArgumentException

The specified value to set is invalid.

View Source

Player

Gets the player of this instance.

Declaration
C#
Copy
protected Player Player { get; }
Property Value
Type Description
Player

The Player of this PlayerDisplaySettings instance.

View Source

Rotation

Gets or sets the rotation of the display.

Declaration
C#
Copy
public Rotation Rotation { get; set; }
Property Value
Type Description
Rotation

Rotate0, Rotate90, Rotate180, Rotate270.

Exceptions
Type Condition
System.InvalidOperationException

Operation failed; internal error.

System.ObjectDisposedException

The player has already been disposed of.

System.ArgumentException

The specified value to set is invalid.

Methods

View Source

SetRoi(Rectangle)

Sets the ROI(Region Of Interest) for the video display.

Declaration
C#
Copy
public void SetRoi(Rectangle roi)
Parameters
Type Name Description
Rectangle roi

The region.

Remarks

the roi can be set before setting Roi. (since 4.0)

Exceptions
Type Condition
System.InvalidOperationException

Operation failed; internal error.

System.ObjectDisposedException

The player has already been disposed of.

System.ArgumentOutOfRangeException

The width or the height is less than or equal to zero.