The PreviewFragment combines the PreviewView and CallBarView to allow the user to preview their video and initiate a two-way video call with a specified endpoint URI.
More...
Inherits com.cisco.jabber.guest.BaseFragment, and OnClickListener.
|
boolean | onCallClick () |
| Subclass and override this method to handle the call button click event. More...
|
|
void | setEnableConfirmEndCallDialog (boolean value) |
| Whether we should display the End call confirmation dialog when remote sharing is active. More...
|
|
|
boolean | mEnableConfirmEndCallDialog = false |
| Identifier for displaying the end call confirmation dialog box when doing remote sharing.
|
|
The PreviewFragment combines the PreviewView and CallBarView to allow the user to preview their video and initiate a two-way video call with a specified endpoint URI.
By default, when a user clicks the call button inside of this fragment, a FragmentTransaction will execute that will replace this fragment with an instance of CallFragment (to start a call). If you wish to not employ the default behavior for this, you will need to create a custom extension for the PreviewFragment class that extends the onCallClick function to perform intended functionality (see method documentation below for details).
static PreviewFragment com.cisco.jabber.guest.PreviewFragment.createInstance |
( |
) | |
|
|
inlinestatic |
boolean com.cisco.jabber.guest.PreviewFragment.hasNetworkConnectivity |
( |
) | |
|
|
inline |
Performs tests to verify that the Android device currently has some form of network connectivity (via the ConnectivityManager class in the Android SDK)
- Returns
- True if network connectivity is detected, false otherwise.
boolean com.cisco.jabber.guest.PreviewFragment.onCallClick |
( |
) | |
|
|
inlineprotected |
Subclass and override this method to handle the call button click event.
Returning false from this method indicates that the call click event hasn't been handled and the default behavior should be executed.
- Returns
- False, perform default behavior when user clicks call button
void com.cisco.jabber.guest.PreviewFragment.resetUI |
( |
) | |
|
|
inline |
Reset the UI elements of the PreviewFragment.
It will hide the progress bar and enable the call button.