public class

MiniControllerFragment

extends Fragment
java.lang.Object
   ↳ android.support.v4.app.Fragment
     ↳ com.google.android.gms.cast.framework.media.widget.MiniControllerFragment

Class Overview

A fragment that provides remote control functionality. This fragment provides an image for the album art, a play/pause button, and a ProgressBar for playback progression. If developers want to use this fragment, they should add it to their layout XML file, and the CastContext will automatically manage its state, and handle any user interactions.

 <fragment
     android:id="@+id/cast_mini_controller"
     android:layout_width="fill_parent"
     android:layout_height="wrap_content"
     android:layout_alignParentBottom="true"
     android:visibility="gone"
     class="com.google.android.gms.cast.framework.media.widget.MiniControllerFragment">
 
The fragment will be visible when a media session starts, and will be invisible when a media session ends.

Summary

Public Constructors
MiniControllerFragment()
Public Methods
void onCreate(Bundle savedInstanceState)
View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState)
void onDestroy()
void onInflate(Context context, AttributeSet attrs, Bundle savedInstanceState)
[Expand]
Inherited Methods
From class android.support.v4.app.Fragment
From class java.lang.Object
From interface android.content.ComponentCallbacks
From interface android.view.View.OnCreateContextMenuListener

Public Constructors

public MiniControllerFragment ()

Public Methods

public void onCreate (Bundle savedInstanceState)

public View onCreateView (LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState)

public void onDestroy ()

public void onInflate (Context context, AttributeSet attrs, Bundle savedInstanceState)