public class

BroadcastFragment

extends Fragment
implements AdapterView.OnItemSelectedListener
java.lang.Object
   ↳ android.app.Fragment
     ↳ io.kickflip.sdk.fragment.BroadcastFragment

Class Overview

This is a drop-in broadcasting fragment. Currently, only one BroadcastFragment may be instantiated at a time by design of Broadcaster.

Summary

[Expand]
Inherited Constants
From interface android.content.ComponentCallbacks2
Public Constructors
BroadcastFragment()
Public Methods
static BroadcastFragment getInstance()
void onAttach(Activity activity)
void onBroadcastIsBuffering(BroadcastIsBufferingEvent event)
void onBroadcastIsLive(BroadcastIsLiveEvent liveEvent)
void onCreate(Bundle savedInstanceState)
View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState)
void onDestroy()
void onItemSelected(AdapterView<?> parent, View view, int position, long id)
void onNothingSelected(AdapterView<?> parent)
void onPause()
void onResume()
void stopBroadcasting()
Force this fragment to stop broadcasting.
[Expand]
Inherited Methods
From class android.app.Fragment
From class java.lang.Object
From interface android.content.ComponentCallbacks
From interface android.content.ComponentCallbacks2
From interface android.view.View.OnCreateContextMenuListener
From interface android.widget.AdapterView.OnItemSelectedListener

Public Constructors

public BroadcastFragment ()

Public Methods

public static BroadcastFragment getInstance ()

public void onAttach (Activity activity)

public void onBroadcastIsBuffering (BroadcastIsBufferingEvent event)

public void onBroadcastIsLive (BroadcastIsLiveEvent liveEvent)

public void onCreate (Bundle savedInstanceState)

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

public void onDestroy ()

public void onItemSelected (AdapterView<?> parent, View view, int position, long id)

public void onNothingSelected (AdapterView<?> parent)

public void onPause ()

public void onResume ()

public void stopBroadcasting ()

Force this fragment to stop broadcasting. Useful if your application wants to stop broadcasting when a user leaves the Activity hosting this fragment