/// <summary> /// Gets the field of view for spherical video. /// </summary> /// <returns>The <see cref="FieldOfView"/> containing the degree information to display.</returns> /// <feature>http://tizen.org/feature/opengles.version.2_0</feature> /// <feature>http://tizen.org/feature/multimedia.player.spherical_video</feature> /// <exception cref="NotSupportedException">The required feature is not supported.</exception> /// <exception cref="ObjectDisposedException"> /// The <see cref="Multimedia.Player"/> that this instance belongs to has been disposed of. /// </exception> /// <since_tizen> 5 </since_tizen> public FieldOfView GetFieldOfView() { ValidationUtil.ValidateFeatureSupported(PlayerFeatures.OpenGl); ValidationUtil.ValidateFeatureSupported(PlayerFeatures.SphericalVideo); Player.ValidateNotDisposed(); NativePlayer.GetFieldOfView(Player.Handle, out var horizontalDegrees, out var verticalDegrees). ThrowIfFailed(Player, "Failed to get the field of view"); return(new FieldOfView(horizontalDegrees, verticalDegrees)); }