MediaController.ProgressListener


@UnstableApi
public interface MediaController.ProgressListener


A listener to receive progress updates of a custom command when a custom command is sent and a non-null ProgressListener is passed into sendCustomCommand.

Summary

Public methods

abstract void
onProgress(
    MediaController mediaController,
    SessionCommand sessionCommand,
    Bundle args,
    Bundle progressData
)

Called when the session reports progress of a custom command.

Public methods

onProgress

abstract void onProgress(
    MediaController mediaController,
    SessionCommand sessionCommand,
    Bundle args,
    Bundle progressData
)

Called when the session reports progress of a custom command.

Parameters
MediaController mediaController

The controller.

SessionCommand sessionCommand

The session command sent to the session.

Bundle args

The argument Bundle sent to the session.

Bundle progressData

The progress data.