Sdílet prostřednictvím


RemoteController.SetSynchronizationMode(SynchronizationPosition) Method

Definition

Caution

deprecated

Set the playback position synchronization mode.

[Android.Runtime.Register("setSynchronizationMode", "(I)Z", "")]
[System.Obsolete("deprecated")]
public bool SetSynchronizationMode (Android.Media.SynchronizationPosition sync);
[<Android.Runtime.Register("setSynchronizationMode", "(I)Z", "")>]
[<System.Obsolete("deprecated")>]
member this.SetSynchronizationMode : Android.Media.SynchronizationPosition -> bool

Parameters

sync
SynchronizationPosition

#POSITION_SYNCHRONIZATION_NONE or #POSITION_SYNCHRONIZATION_CHECK

Returns

true if the synchronization mode was successfully set.

Attributes

Exceptions

Remarks

Set the playback position synchronization mode. Must be called on a registered RemoteController.

Java documentation for android.media.RemoteController.setSynchronizationMode(int).

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