StreamViewerFragment¶
-
public class
StreamViewerFragment
extends Fragment¶ This fragment represents a visual container for an
IStream
. It can be attached to any Activity, provided that it implements theIStreamFragmentCommandListener
interface. This fragment contains a surface where to render the stream along with two image buttons that you can optionally use for sending play or pause stream requests to the attached activity
Methods¶
newInstance¶
-
public static StreamViewerFragment
newInstance
(String streamId)¶ Intances a new StreamViewerFragment
Parameters: - streamId – the id of the stream to render
Returns: a new StreamViewerFragment instance