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#Copypublic class PlayerDisplaySettings
- Inheritance
-
System.ObjectPlayerDisplaySettings
Properties
Declaration
C#Copypublic 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
Declaration
C#Copypublic 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
Declaration
C#Copyprotected Player Player { get; }
Property Value
Type | Description |
---|---|
Player | The Player of this PlayerDisplaySettings instance. |
API Level: 4
Declaration
C#Copypublic Rotation Rotation { get; set; }
Property Value
Type | Description |
---|---|
Rotation |
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
Declaration
C#Copypublic 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. |