RemoteController.SeekTo(Int64) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Caution
deprecated
Sets the new playback position.
[Android.Runtime.Register("seekTo", "(J)Z", "")]
[System.Obsolete("deprecated")]
public bool SeekTo (long timeMs);
[<Android.Runtime.Register("seekTo", "(J)Z", "")>]
[<System.Obsolete("deprecated")>]
member this.SeekTo : int64 -> bool
Parameters
- timeMs
- Int64
a 0 or positive value for the new playback position, expressed in ms.
Returns
true if the command to set the playback position was successfully sent.
- Attributes
Exceptions
Remarks
Sets the new playback position. This method can only be called on a registered RemoteController.
Java documentation for android.media.RemoteController.seekTo(long)
.
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.