FileDocCategorySizeDatePackage
ImsStreamMediaSession.javaAPI DocAndroid 5.1 API1827Thu Mar 12 22:22:52 GMT 2015com.android.ims.internal

ImsStreamMediaSession

public class ImsStreamMediaSession extends Object
Provides the APIs to control the media session, such as passing the surface object, controlling the camera (front/rear selection, zoom, brightness, ...) for a video calling.
hide

Fields Summary
private static final String
TAG
private Listener
mListener
Constructors Summary
ImsStreamMediaSession(IImsStreamMediaSession mediaSession)


      
    
ImsStreamMediaSession(IImsStreamMediaSession mediaSession, Listener listener)

        this(mediaSession);
        setListener(listener);
    
Methods Summary
public voidsetListener(com.android.ims.internal.ImsStreamMediaSession$Listener listener)
Sets the listener to listen to the media session events. A {@code ImsStreamMediaSession} can only hold one listener at a time. Subsequent calls to this method override the previous listener.

param
listener to listen to the media session events of this object

        mListener = listener;