CloudMediaProvider.CloudMediaSurfaceStateChangedCallback.SetPlaybackState 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.
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
.
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.