CloudMediaProvider.CloudMediaSurfaceStateChangedCallback.SetPlaybackState Method

Definition

This is called to notify playback state update for a Surface on the picker launched via MediaStore#ACTION_PICK_IMAGES.

[Android.Runtime.Register("setPlaybackState", "(IILandroid/os/Bundle;)V", "", ApiSince=33)]
public void SetPlaybackState (int surfaceId, int playbackState, Android.OS.Bundle? playbackStateInfo);
[<Android.Runtime.Register("setPlaybackState", "(IILandroid/os/Bundle;)V", "", ApiSince=33)>]
member this.SetPlaybackState : int * int * Android.OS.Bundle -> unit

Parameters

surfaceId
Int32

id which uniquely identifies a Surface

playbackState
Int32

playback state to notify picker about

playbackStateInfo
Bundle

Bundle which may contain extra information about the playback state, such as media size, progress/seek info or details about errors.

Attributes

Remarks

This is called to notify playback state update for a Surface on the picker launched via MediaStore#ACTION_PICK_IMAGES.

Java documentation for android.provider.CloudMediaProvider.CloudMediaSurfaceStateChangedCallback.setPlaybackState(int, int, android.os.Bundle).

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