CloudMediaProvider.CloudMediaSurfaceController.OnMediaPlay(Int32) 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.
Start playing the preview of the media associated with the given surface id.
[Android.Runtime.Register("onMediaPlay", "(I)V", "GetOnMediaPlay_IHandler", ApiSince=33)]
public abstract void OnMediaPlay (int surfaceId);
[<Android.Runtime.Register("onMediaPlay", "(I)V", "GetOnMediaPlay_IHandler", ApiSince=33)>]
abstract member OnMediaPlay : int -> unit
Parameters
- surfaceId
- Int32
id which uniquely identifies the Surface
for rendering
- Attributes
Remarks
Start playing the preview of the media associated with the given surface id. If playback had previously been paused, playback will continue from where it was paused. If playback had been stopped, or never started before, playback will start at the beginning.
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.