/// <summary> /// Gets the maximum limit of the streaming variant. /// </summary> /// <returns>The <see cref="VariantInfo"/> containing the variant information.</returns> /// <exception cref="ObjectDisposedException">The <see cref="Player"/> has already been disposed of.</exception> /// <seealso cref="SetMaxLimit(int, int, int)"/> /// <since_tizen> 5 </since_tizen> public VariantInfo GetMaxLimit() { Player.ValidateNotDisposed(); NativePlayer.GetMaxLimit(Player.Handle, out var bandwidth, out var width, out var height). ThrowIfFailed(Player, "Failed to get the max limit to the player"); return(new VariantInfo(bandwidth, width, height)); }