![]() |
Jabber Guest Android SDK
|
com.cisco.jabber.guest.sdk.DataView Class Reference
A view that represents the called party's shared screen during an active call. More...
Inheritance diagram for com.cisco.jabber.guest.sdk.DataView:
![](images/JabberGuestSDK-Android-10-6-10/docs/api/classcom_1_1cisco_1_1jabber_1_1guest_1_1sdk_1_1_data_view.png)
Classes | |
enum | VisibleEdges |
Enum declaring all possible visible edges for the contained TextureView inside this DataView. More... | |
Public Member Functions | |
DataView (Context context) | |
Construct a new DataView. More... | |
DataView (Context context, AttributeSet attrs) | |
Construct a new DataView. More... | |
DataView (Context context, AttributeSet attrs, int defStyle) | |
Construct a new DataView. More... | |
void | onFirstFrame () |
Called when the first frame is delivered to the TextureView. | |
void | onFramesResumed () |
Called when frames have resumed being delivered to the TextureView. | |
void | onFrameSizeChanged (int width, int height) |
Called when the size of the frames being delivered to the TextureView has changed. More... | |
EnumSet< VisibleEdges > | getCurrentVisibleEdges () |
Determines what edges of the contained TextureView with the called party's shared screen are currently visible in this DataView. More... | |
boolean | getIsCurrentlyScaling () |
Returns whether or not the DataView is currently processing a scaling gesture. More... | |
![]() | |
BaseTextureViewLayout (Context context, int layout) | |
Construct a new BaseTextureViewLayout. More... | |
BaseTextureViewLayout (Context context, AttributeSet attrs, int layout) | |
Construct a new BaseTextureViewLayout. More... | |
BaseTextureViewLayout (Context context, AttributeSet attrs, int defStyle, int layout) | |
Construct a new BaseTextureViewLayout. More... | |
TextureView | getTextureView () |
Gets the TextureView contained within this view. More... | |
void | onFramesDropped () |
Called when frames are no longer being delivered to the TextureView. | |
void | onFramesResumed () |
Called when frames have resumed being delivered to the TextureView. | |
void | onFrameSizeChanged (int width, int height) |
Called when the size of the frames being delivered to the TextureView has changed. More... | |
void | onFirstFrame () |
Called when the first frame is delivered to the TextureView. | |
Additional Inherited Members | |
![]() | |
void | processNewInstanceAvailable (Intent intent) |
This function is called from the internal registered BroadcastReceiver whenever this view receives notification from JabberGuestCall that there is a new instance of this class available. More... | |
void | processCallStateChanged (Intent intent) |
This function is called from the internal registered BroadcastReceiver whenever this view receives notification from JabberGuestCall that a call state change has taken place on the current instance of JabberGuestCall. More... | |
void | processCallControlEvent (Intent intent) |
This function is called from the internal registered BroadcastReceiver whenever this view receives notification from JabberGuestCall that a call control event has taken place on the current instance of JabberGuestCall. More... | |
void | processCallErrorEvent (Intent intent) |
This function is called from the internal registered BroadcastReceiver whenever this view receives notification from JabberGuestCall that a call error event has taken place on the current instance of JabberGuestCall. More... | |
JabberGuestCall | getJabberGuestCallFromReference () |
Returns the current JabberGuestCall instance from the internal WeakReference stored by this view if it exists. More... | |
![]() | |
WeakReference< JabberGuestCall > | mJabberCallReference = null |
Stores a WeakReference to the current JabberGuestCall instance during a call. | |
BroadcastReceiver | mBroadcastReceiver |
Broadcast Receiver that is registered to JabberGuestCall instance in order to receive notifications. More... | |
TextureView | mTextureView = null |
Represents the contained TextureView in this BaseTextureViewLayout class. | |
int | mFrameWidth = 0 |
The current frame width received from the internal media engine for this view. | |
int | mFrameHeight = 0 |
The current frame height received from the internal media engine for this view. | |
int | mMaxWidth = Integer.MAX_VALUE |
The maximum allowable frame width for this view. | |
int | mMaxHeight = Integer.MAX_VALUE |
The maximum allowable frame height for this view. | |
Detailed Description
A view that represents the called party's shared screen during an active call.
Constructor & Destructor Documentation
|
inline |
Construct a new DataView.
- Parameters
-
context The Context the view is running in, through which it can access the current theme, resources, etc.
|
inline |
Construct a new DataView.
- Parameters
-
context The Context the view is running in, through which it can access the current theme, resources, etc. attrs The attributes of the XML tag that is inflating the view.
|
inline |
Construct a new DataView.
- Parameters
-
context The Context the view is running in, through which it can access the current theme, resources, etc. attrs The attributes of the XML tag that is inflating the view. defStyle An attribute in the current theme that contains a reference to a style resource that supplies default values for the view. Can be 0 to not look for defaults.
Member Function Documentation
|
inline |
Determines what edges of the contained TextureView with the called party's shared screen are currently visible in this DataView.
- Returns
- An EnumSet of VisibleEdges values indicating which edges are currently visible in this DataView.
|
inline |
Returns whether or not the DataView is currently processing a scaling gesture.
- Returns
- True if currently processing a scaling gesture, false otherwise.
|
inline |
Called when the size of the frames being delivered to the TextureView has changed.
- Parameters
-
width The new width of the received frames. height The new height of the received frames.
Implements com.cisco.jabber.guest.sdk.RenderCallbacks.