PlaybackStateCompat.CustomAction.Builder

public static final class PlaybackStateCompat.CustomAction.Builder
extends Object

java.lang.Object
   ↳ android.support.v4.media.session.PlaybackStateCompat.CustomAction.Builder


Builder for PlaybackStateCompat.CustomAction objects.

Summary

Public constructors

Builder(String action, CharSequence name, int icon)

Creates a PlaybackStateCompat.CustomAction builder with the id, name, and icon set.

Public methods

PlaybackStateCompat.CustomAction build()

Build and return the PlaybackStateCompat.CustomAction instance with the specified values.

PlaybackStateCompat.CustomAction.Builder setExtras(Bundle extras)

Set optional extras for the PlaybackStateCompat.CustomAction.

Inherited methods

Public constructors

Builder

public Builder (String action, 
                CharSequence name, 
                int icon)

Creates a