SyncParams.SetTolerance(Single) Method

Definition

Sets the tolerance.

[Android.Runtime.Register("setTolerance", "(F)Landroid/media/SyncParams;", "", ApiSince=23)]
public Android.Media.SyncParams? SetTolerance (float tolerance);
[<Android.Runtime.Register("setTolerance", "(F)Landroid/media/SyncParams;", "", ApiSince=23)>]
member this.SetTolerance : single -> Android.Media.SyncParams

Parameters

tolerance
Single

A non-negative number representing the maximum deviation of the playback rate from the playback rate set. (abs(actual_rate - set_rate) / set_rate)

Returns

this SyncParams instance.

Attributes

Remarks

Sets the tolerance. The default tolerance is platform specific, but is never more than 1/24.

Java documentation for android.media.SyncParams.setTolerance(float).

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to