Class PlayerDisplaySettings

Definition

Namespace:
Tizen.Multimedia
Assembly:
Tizen.Multimedia.MediaPlayer.dll
API Level:
3

Provides a means to configure display settings for video Player.

C#
Copy
public class PlayerDisplaySettings
Inheritance
System.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
Boolean

true if the display is visible; otherwise false.

Exceptions
Type Condition
System.InvalidOperationException

Operation failed; internal error.

ObjectDisposedException

The player has already been disposed of.

API Level: 3
View Source

Mode

Gets or sets the PlayerDisplayMode.

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

Operation failed; internal error.

ObjectDisposedException

The player has already been disposed of.

System.ArgumentException

The specified value to set is invalid.

API Level: 3
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.

API Level: 4
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.

ObjectDisposedException

The player has already been disposed of.

System.ArgumentException

The specified value to set is invalid.

API Level: 3

Methods

View Source

SetRoi(Rectangle)

Sets the roi(region of interest).

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.

ObjectDisposedException

The player has already been disposed of.

System.ArgumentOutOfRangeException

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

API Level: 3