RemoteController.EstimatedMediaPosition Property
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
Return the estimated playback position of the current media track or a negative value if not available.
[System.Obsolete("deprecated")]
public long EstimatedMediaPosition { [Android.Runtime.Register("getEstimatedMediaPosition", "()J", "")] get; }
[<System.Obsolete("deprecated")>]
[<get: Android.Runtime.Register("getEstimatedMediaPosition", "()J", "")>]
member this.EstimatedMediaPosition : int64
Property Value
the current estimated playback position in milliseconds or a negative value if not available
- Attributes
Remarks
Return the estimated playback position of the current media track or a negative value if not available.
The value returned is estimated by the current process and may not be perfect. The time returned by this method is calculated from the last state change time based on the current play position at that time and the last known playback speed. An application may call #setSynchronizationMode(int)
to apply a synchronization policy that will periodically re-sync the estimated position with the RemoteControlClient.
Java documentation for android.media.RemoteController.getEstimatedMediaPosition()
.
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.