Class ContentSharingOpenGLRenderer
- java.lang.Object
-
- com.avaya.clientservices.collaboration.contentsharing.ContentSharingOpenGLRenderer
-
public class ContentSharingOpenGLRenderer extends java.lang.ObjectThis class is used to create view for displaying Content Sharing. It needs to be registered onContentSharingobject usingContentSharing.setOpenGLRenderer(ContentSharingOpenGLRenderer). This should be done as early as possible. The best place o do so isCollaborationListener.onCollaborationStarted(Collaboration)CollaborationListener.onCollaborationStarted(Collaboration)} callback. View can be obtained withcreateContentSharingLayout(Context).
-
-
Constructor Summary
Constructors Constructor Description ContentSharingOpenGLRenderer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ContentSharingPlaneViewGroupcreateContentSharingLayout(android.content.Context context)Create layout that draws Content Sharing.booleanisBitmapSet()Returns true if bitmap was received from Content Sharing.voidsetCursorIcon(android.graphics.Bitmap cursorBitmap)Sets bitmap to use for cursor.voidsetPauseIcon(android.graphics.Bitmap pauseBitmap)Sets bitmap to use for pause.
-
-
-
Method Detail
-
createContentSharingLayout
public ContentSharingPlaneViewGroup createContentSharingLayout(android.content.Context context)
Create layout that draws Content Sharing.- Parameters:
context- Context- Returns:
- layout that draws Content Sharing.
-
isBitmapSet
public boolean isBitmapSet()
Returns true if bitmap was received from Content Sharing.- Returns:
- true if bitmap was received from Content Sharing.
-
setCursorIcon
public void setCursorIcon(android.graphics.Bitmap cursorBitmap)
Sets bitmap to use for cursor.- Parameters:
cursorBitmap- bitmap to use for cursor.
-
setPauseIcon
public void setPauseIcon(android.graphics.Bitmap pauseBitmap)
Sets bitmap to use for pause.- Parameters:
pauseBitmap- bitmap to use for pause.
-
-