public class

SCVideoCallActivity

extends SCBaseActivity
implements IControllerRequestListener
java.lang.Object
   ↳ android.content.Context
     ↳ android.content.ContextWrapper
       ↳ android.view.ContextThemeWrapper
         ↳ android.app.Activity
           ↳ com.c2call.sdk.pub.activities.SCBaseActivity
             ↳ com.c2call.sdk.pub.activities.SCVideoCallActivity

Class Overview

This activity will be automatically started if a video call was initiated It is not recommended start it otherwise. But you are free to sub-class this Activity and override openVideoCall(android.content.Context, View, int, IVideoSlave, com.c2call.sdk.pub.core.StartType)

Summary

[Expand]
Inherited Constants
From class com.c2call.sdk.pub.activities.SCBaseActivity
From class android.app.Activity
From class android.content.Context
From interface android.content.ComponentCallbacks2
[Expand]
Inherited Fields
From class com.c2call.sdk.pub.activities.SCBaseActivity
From class android.app.Activity
Public Constructors
SCVideoCallActivity()
Public Methods
IVideoCallController getController()
Returns the controller for this Activity
void onConfigurationChanged(Configuration newConfig)
void onControllerEvent(SCBaseControllerEvent event)
void onLowMemory()
Protected Methods
SCVideoCallFactory getVideoCallFactory(IVideoSlave videoSlave)
Gets a factory that is able to create a fitting controller for this Activity.
boolean ignoreBackPressedHandling()
void onBackButtonPressed()
void onBindVideoSlave(IVideoSlave videoSlave)
During this method the @{link IVideoSlave should be bound to the controler.
void onCreate(Bundle savedInstanceState)
IVideoCallController onCreateController(View v, SCViewDescription vd, IVideoSlave videoSlave)
Creates the controller for the VideoCall view
SCViewDescription onCreateViewDescription()
Creates the ViewDescription that will be used by the controller.
void onDestroy()
void onPause()
void onPostCreateController(IVideoCallController controller)
Called after the Controller was created.
void onResume()
void onStart()
void onStartVideo()
void onStop()
[Expand]
Inherited Methods
From class com.c2call.sdk.pub.activities.SCBaseActivity
From class android.app.Activity
From class android.view.ContextThemeWrapper
From class android.content.ContextWrapper
From class android.content.Context
From class java.lang.Object
From interface android.content.ComponentCallbacks
From interface android.content.ComponentCallbacks2
From interface android.view.KeyEvent.Callback
From interface android.view.LayoutInflater.Factory
From interface android.view.LayoutInflater.Factory2
From interface android.view.View.OnCreateContextMenuListener
From interface android.view.Window.Callback
From interface com.c2call.sdk.pub.gui.core.controller.IControllerRequestListener

Public Constructors

public SCVideoCallActivity ()

Public Methods

public IVideoCallController getController ()

Returns the controller for this Activity

Returns
  • the controller

public void onConfigurationChanged (Configuration newConfig)

public void onControllerEvent (SCBaseControllerEvent event)

public void onLowMemory ()

Protected Methods

protected SCVideoCallFactory getVideoCallFactory (IVideoSlave videoSlave)

Gets a factory that is able to create a fitting controller for this Activity.

protected boolean ignoreBackPressedHandling ()

protected void onBackButtonPressed ()

protected void onBindVideoSlave (IVideoSlave videoSlave)

During this method the @{link IVideoSlave should be bound to the controler. Typically this method should not overridden, but in some rare usecases this may be needed.

protected void onCreate (Bundle savedInstanceState)

protected IVideoCallController onCreateController (View v, SCViewDescription vd, IVideoSlave videoSlave)

Creates the controller for the VideoCall view

Parameters
v the view that is needed to construct the controller
vd the ViewDescription that is needed to construct the controller
videoSlave the video slave that will be set for this controller
Returns
  • the VideoCall controller

protected SCViewDescription onCreateViewDescription ()

Creates the ViewDescription that will be used by the controller. This description will be passed as a parameter in onCreateController(View, SCViewDescription, IVideoSlave)

Returns
  • the ViewDescription that will be used by the controller

protected void onDestroy ()

protected void onPause ()

protected void onPostCreateController (IVideoCallController controller)

Called after the Controller was created. I.e. after {@link SCVideoCallController#onCreate(android.app.Activity, com.c2call.sdk.pub.gui.core.common.SCActivityResultDispatcher) was called.

protected void onResume ()

protected void onStart ()

protected void onStartVideo ()

protected void onStop ()