Class PlayerDisplaySettings
Definition
- Namespace:
- Tizen.Multimedia
- Assembly:
- Tizen.Multimedia.MediaPlayer.dll
Provides a means to configure display settings for video Player.
public class PlayerDisplaySettings
- Inheritance
-
objectPlayerDisplaySettings
Properties
View SourceIsVisible
Gets or sets the value indicating whether the display is visible.
Declaration
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. |
Mode
Gets or sets the PlayerDisplayMode of the player.
Declaration
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. |
Player
Gets the player of this instance.
Declaration
protected Player Player { get; }
Property Value
Type | Description |
---|---|
Player | The Player of this PlayerDisplaySettings instance. |
Rotation
Gets or sets the rotation of the display.
Declaration
public Rotation Rotation { get; set; }
Property Value
Type | Description |
---|---|
Rotation |
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 SourceSetRoi(Rectangle)
Sets the ROI(Region Of Interest) for the video display.
Declaration
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. |