다음을 통해 공유


CloudMediaProvider.CloudMediaSurfaceController.OnMediaPlay(Int32) Method

Definition

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.

Java documentation for android.provider.CloudMediaProvider.CloudMediaSurfaceController.onMediaPlay(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