StreamInspectorFragment

public class StreamInspectorFragment extends Fragment

This fragment provides a way for visually getting and/or updating the video properties of a list of IStream objects. Also, you can specify a filter for getting only a subset of stream properties you are interested in. You can attach this fragment to any activity, provided that it implements the StreamInspectorFragment.IStreamProvider interface.

Methods

newInstance

public static StreamInspectorFragment newInstance()

Provides a new istance of this fragment

Returns:the StreamInspectorFragment instance

onActivityCreated

public void onActivityCreated(Bundle bundle)

onAttach

public void onAttach(Activity activity)

onCreateView

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

refreshData

public void refreshData()

Force the reloading of the stream data of the underlying adapter

updateStreamStateInfo

public void updateStreamStateInfo(IStream stream)

This method would be called for notifying the StreamInspectorFragment that one or more properties of the IStream (specified as argument) has been changed,

Parameters:
  • stream – the modified IStream object