IStreamFragmentCommandListener¶
-
public interface
IStreamFragmentCommandListener
¶ This interface must be implemented by activities attached to the
StreamViewerFragment
fragment
Methods¶
onPause¶
onPlay¶
-
public void
onPlay
(String streamId)¶ Callback triggered after the user clicked on the play button
Parameters: - streamId – the id of the stream the
StreamViewerFragment
refer to
- streamId – the id of the stream the
onSurfaceViewCreated¶
-
public void
onSurfaceViewCreated
(String streamId, SurfaceView surfaceView)¶ Callback triggered once the surfaceView of the fragment became available
Parameters: - streamId – the id of the stream the
StreamViewerFragment
refer to - surfaceView – the surfaceView where to render the stream
- streamId – the id of the stream the
onSurfaceViewDestroyed¶
-
public void
onSurfaceViewDestroyed
(String streamId)¶ Callback triggered after the surfaceView of this fragment has been destroyed
Parameters: - streamId – the id of the stream the
StreamViewerFragment
refer to
- streamId – the id of the stream the