Compartilhar via


RemoteController.PositionSynchronizationCheck Field

Definition

Caution

This constant will be removed in the future version. Use Android.Media.SynchronizationPosition enum directly instead of this field.

The playback position synchronization mode where the RemoteControlClient instances which expose their playback position to the framework, will be regularly polled to check whether any drift has been noticed between their estimated position and the one they report.

[Android.Runtime.Register("POSITION_SYNCHRONIZATION_CHECK")]
[System.Obsolete("This constant will be removed in the future version. Use Android.Media.SynchronizationPosition enum directly instead of this field.", true)]
public const Android.Media.SynchronizationPosition PositionSynchronizationCheck = 1;
[<Android.Runtime.Register("POSITION_SYNCHRONIZATION_CHECK")>]
[<System.Obsolete("This constant will be removed in the future version. Use Android.Media.SynchronizationPosition enum directly instead of this field.", true)>]
val mutable PositionSynchronizationCheck : Android.Media.SynchronizationPosition

Field Value

Value = 1
Attributes

Remarks

The playback position synchronization mode where the RemoteControlClient instances which expose their playback position to the framework, will be regularly polled to check whether any drift has been noticed between their estimated position and the one they report. Note that this mode should only ever be used when needing to display very accurate playback position, as regularly polling a RemoteControlClient for its position may have an impact on battery life (if applicable) when this query will trigger network transactions in the case of remote playback.

Java documentation for android.media.RemoteController.POSITION_SYNCHRONIZATION_CHECK.

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