Dela via


MediaPlaybackSphericalVideoProjection.IsEnabled Property

Definition

Gets or sets a value indicating whether spherical video projection is enabled.

public:
 property bool IsEnabled { bool get(); void set(bool value); };
bool IsEnabled();

void IsEnabled(bool value);
public bool IsEnabled { get; set; }
var boolean = mediaPlaybackSphericalVideoProjection.isEnabled;
mediaPlaybackSphericalVideoProjection.isEnabled = boolean;
Public Property IsEnabled As Boolean

Property Value

Boolean

bool

True if spherical video projection is enabled. Otherwise, false.

Remarks

The value of this property is not guaranteed to be correct until after the MediaPlayer.MediaOpened event has been raised for the associated media item.

If you attempt to set this property to true when the value of the FrameFormat is None or Unsupported an error will be raised.

Applies to