java.lang.Object | |
↳ | com.c2call.sdk.pub.core.SCStartControl |
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
SCStartControl() |
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
void | closeVideoCallFloatView() | ||||||||||
boolean | open(Context context, View anchor, int layout, SCBaseFactory factory, Class<? extends Activity> clazz, StartType startType) | ||||||||||
boolean |
openAddFriend(Activity activity, View anchor, int layout, StartType startType)
This Method opens a view to add an existing user to his friend list
| ||||||||||
boolean |
openAddGroup(Activity activity, View anchor, int layout, StartType startType)
This Method opens a view to let the user create a new group
| ||||||||||
boolean |
openAudioRecord(Activity activity, Fragment fragment, View anchor, int layout, String outputPath, StartType startType)
This Method opens a view, that lets the user record audio
| ||||||||||
boolean |
openBoard(Activity activity, View anchor, int layout, String userid, StartType startType)
This Method opens the board view.
| ||||||||||
boolean |
openCallMeLink(Activity activity, View anchor, int layout, SCCallMeLink data, StartType startType)
This Method opens a view to let the user enable/disable the
SCCallMeLink | ||||||||||
boolean |
openCallbar(Context activity, View anchor, String userid, int layout, StartType startType)
This Method opens the call bar.
| ||||||||||
boolean |
openCallbar(Context activity, View anchor, String userid, String to, int layout, StartType startType)
This Method opens the call bar.
| ||||||||||
boolean |
openChangePassword(Activity activity, View anchor, int layout, StartType startType)
This Method opens a view to let the user change his password
| ||||||||||
boolean |
openContactDetail(Activity activity, View anchor, int layout, SCFriendData contact, StartType startType)
This Method opens a contact detail view.
| ||||||||||
boolean |
openContactInvite(Activity activity, View anchor, int layout, StartType startType)
This Method opens a view, that lets the user invite contacts of his local
address book
| ||||||||||
boolean |
openContacts(Activity activity, View anchor, int layout, IFilterProvider<SCFriendData, String> filterProvider, StartType startType)
This Method opens a filtered subset of the local address book
| ||||||||||
boolean |
openCustomStatus(Activity activity, View anchor, int layout, String[] predefinedStatuses, StartType startType)
This Method opens a view, that lets the user specifiy a custom status like "busy", "available", etc.
| ||||||||||
boolean |
openDialpad(Activity activity, View anchor, int layout, StartType startType)
This Method opens the dialpad view
| ||||||||||
boolean |
openForgotPassword(Activity activity, View anchor, int layout, StartType startType)
This Method opens a "forgot password" view
| ||||||||||
boolean |
openForward(Activity activity, View anchor, int layout, SCCallForward forward, StartType startType)
This Method opens the call forwarding view.
| ||||||||||
boolean |
openFriends(Activity activity, View anchor, int layout, StartType startType)
This method opens a friend list
| ||||||||||
boolean |
openGroupDetail(Activity activity, View anchor, int layout, SCFriendGroup group, StartType startType)
This Method opens a group detail view.
| ||||||||||
boolean |
openGroupDetail(Activity activity, View anchor, int layout, String userid, StartType startType)
This Method opens a group detail view.
| ||||||||||
boolean |
openIncomingCall(Activity activity, View anchor, int layout, SCIncomingCallData data, StartType startType)
This Method opens the "incoming call" view
| ||||||||||
boolean |
openInvite(Activity activity, View anchor, int layout, SCInvitation invitation, StartType startType)
This Method opens a view to invite a new user
| ||||||||||
boolean |
openMain(Activity activity)
This method opens your main activity.
| ||||||||||
boolean | openNewMessage(Activity activity, View anchor, int layout, SCFriendData friend, StartType startType) | ||||||||||
boolean |
openOfferwall(Activity activity, View anchor, int layout, StartType startType)
This Method opens the offerwall
| ||||||||||
boolean | openPopup(Context context, View anchor, int layout, SCBaseFactory factory) | ||||||||||
boolean |
openProfile(Activity activity, View anchor, int layout, StartType startType)
This Method opens the profile view.
| ||||||||||
boolean |
openRegister(Activity activity, View anchor, int layout, SCRegistrationData data, StartType startType)
This Method opens the view to register a new user
| ||||||||||
boolean |
openSelectContacts(Activity activity, Fragment fragment, View anchor, int layout, IFilterProvider<SCFriendData, String> filterProvider, String selectionKey, StartType startType)
This Method opens a view to let the user select a contact from local
address book
| ||||||||||
boolean |
openSelectFriends(Activity activity, Fragment fragment, View anchor, int layout, IFilterProvider<SCFriendData, String> filterProvider, String selectionKey, StartType startType)
This Method opens a view to let the user select a
Friend | ||||||||||
boolean | openShareLocation(Activity activity, View anchor, int layout) | ||||||||||
boolean |
openVerifyNumber(Activity activity, View anchor, int layout, StartType startType)
This Method opens a view to verify the phone number of the ueser
| ||||||||||
boolean |
openVideoCall(Context context, View anchor, int layout, IVideoSlave slave, StartType startType)
This Method opens the video call view
| ||||||||||
boolean | openVideoCallFloatWindow(Context context) | ||||||||||
static void | startActivityForResult(Activity activity, Fragment f, Intent intent, int requestCode) | ||||||||||
void | toggleVideoCallFloatViewVisibility() |
Protected Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
StartType | resolveStartType(Context context, StartType startType) |
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() | |||||||||||
![]() |
This Method opens a view to add an existing user to his friend list
activity | The activity that opens the new view. |
---|---|
anchor | If Popup , then this is
the anchor for the popup, otherwise the parameter is ignored |
layout | The layout resource id that is used to inflate the view |
startType | Specifies how the view should be shown. |
This Method opens a view to let the user create a new group
activity | The activity that opens the new view. |
---|---|
anchor | If Popup , then this is
the anchor for the popup, otherwise the parameter is ignored |
layout | The layout resource id that is used to inflate the view |
startType | Specifies how the view should be shown. |
This Method opens a view, that lets the user record audio
activity | The activity that opens the new view. Maybe null if
fragment is used |
---|---|
fragment | The fragment that opens the new view. Maybe null if
activity is used |
anchor | If Popup , then this is
the anchor for the popup, otherwise the parameter is ignored |
layout | The layout resource id that is used to inflate the view |
outputPath | The path where to save the audio file |
startType | Specifies how the view should be shown. |
This Method opens the board view.
activity | The activity that opens the new view. |
---|---|
anchor | If Popup , then this is
the anchor for the popup, otherwise the parameter is ignored |
layout | The layout resource id that is used to inflate the view |
userid | If set then the board should be filtered to show only events related to that userid. May be null |
startType | Specifies how the view should be shown. |
This Method opens a view to let the user enable/disable the
SCCallMeLink
activity | The activity that opens the new view. |
---|---|
anchor | If Popup , then this is
the anchor for the popup, otherwise the parameter is ignored |
layout | The layout resource id that is used to inflate the view |
startType | Specifies how the view should be shown. |
This Method opens the call bar.
activity | The Context that opens the new view. |
---|---|
anchor | If Popup , then this is
the anchor for the popup, otherwise the parameter is ignored |
userid | The userid of the interlocutor |
layout | The layout resource id that is used to inflate the view |
startType | Specifies how the view should be shown. |
This Method opens the call bar.
activity | The Context that opens the new view. |
---|---|
anchor | If Popup , then this is
the anchor for the popup, otherwise the parameter is ignored |
layout | The layout resource id that is used to inflate the view |
startType | Specifies how the view should be shown. |
This Method opens a view to let the user change his password
activity | The activity that opens the new view. |
---|---|
anchor | If Popup , then this is
the anchor for the popup, otherwise the parameter is ignored |
layout | The layout resource id that is used to inflate the view |
startType | Specifies how the view should be shown. |
This Method opens a contact detail view.
activity | The activity that opens the new view. |
---|---|
anchor | If Popup , then this is
the anchor for the popup, otherwise the parameter is ignored |
layout | The layout resource id that is used to inflate the view |
contact | The contact whose detail should be shown |
startType | Specifies how the view should be shown. |
This Method opens a view, that lets the user invite contacts of his local address book
activity | The activity that opens the new view. |
---|---|
anchor | If Popup , then this is
the anchor for the popup, otherwise the parameter is ignored |
layout | The layout resource id that is used to inflate the view |
startType | Specifies how the view should be shown. |
This Method opens a filtered subset of the local address book
activity | The activity that opens the new view. |
---|---|
anchor | If Popup , then this is
the anchor for the popup, otherwise the parameter is ignored |
layout | The layout resource id that is used to inflate the view |
filterProvider | A filter provider to filter the contact list |
startType | Specifies how the view should be shown. |
This Method opens a view, that lets the user specifiy a custom status like "busy", "available", etc.
activity | The activity that opens the new view. |
---|---|
anchor | If Popup , then this is
the anchor for the popup, otherwise the parameter is ignored |
layout | The layout resource id that is used to inflate the view |
predefinedStatuses | A list of predefined statusus to select from |
startType | Specifies how the view should be shown. |
This Method opens the dialpad view
activity | The activity that opens the new view. |
---|---|
anchor | If Popup , then this is
the anchor for the popup, otherwise the parameter is ignored |
layout | The layout resource id that is used to inflate the view |
startType | Specifies how the view should be shown. |
This Method opens a "forgot password" view
activity | The activity that opens the new view. |
---|---|
anchor | If Popup , then this is
the anchor for the popup, otherwise the parameter is ignored |
layout | The layout resource id that is used to inflate the view |
startType | Specifies how the view should be shown. |
This Method opens the call forwarding view.
activity | The activity that opens the new view. |
---|---|
anchor | If Popup , then this is
the anchor for the popup, otherwise the parameter is ignored |
layout | The layout resource id that is used to inflate the view |
forward | The SCCallForward that will be modified. Typically
taken from SCProfile |
startType | Specifies how the view should be shown. |
This method opens a friend list
activity | The activity that opens the new view. |
---|---|
anchor | If Popup , then this is
the anchor for the popup, otherwise the parameter is ignored |
layout | The layout resource id that is used to inflate the view |
startType | Specifies how the view should be shown. |
This Method opens a group detail view.
activity | The activity that opens the new view. |
---|---|
anchor | If Popup , then this is
the anchor for the popup, otherwise the parameter is ignored |
layout | The layout resource id that is used to inflate the view |
group | The group whose detail should be shown |
startType | Specifies how the view should be shown. |
This Method opens a group detail view.
activity | The activity that opens the new view. |
---|---|
anchor | If Popup , then this is
the anchor for the popup, otherwise the parameter is ignored |
layout | The layout resource id that is used to inflate the view |
userid | The group id whose detail should be shown |
startType | Specifies how the view should be shown. |
This Method opens the "incoming call" view
activity | The activity that opens the new view. |
---|---|
anchor | If Popup , then this is
the anchor for the popup, otherwise the parameter is ignored |
layout | The layout resource id that is used to inflate the view |
data | This object holds some information of the incoming call |
startType | Specifies how the view should be shown. Typically a fullscreen activity |
This Method opens a view to invite a new user
activity | The activity that opens the new view. |
---|---|
anchor | If Popup , then this is
the anchor for the popup, otherwise the parameter is ignored |
layout | The layout resource id that is used to inflate the view |
invitation | Optional invitation data to pre-fill some invitation fields |
startType | Specifies how the view should be shown. |
This method opens your main activity.
activity | The activity that opens the new view. |
---|
This Method opens the offerwall
activity | The activity that opens the new view. |
---|---|
anchor | If Popup , then this is
the anchor for the popup, otherwise the parameter is ignored |
layout | The layout resource id that is used to inflate the view |
startType | Specifies how the view should be shown. |
This Method opens the profile view.
activity | The activity that opens the new view. |
---|---|
anchor | If Popup , then this is
the anchor for the popup, otherwise the parameter is ignored |
layout | The layout resource id that is used to inflate the view |
startType | Specifies how the view should be shown. |
This Method opens the view to register a new user
activity | The activity that opens the new view. |
---|---|
anchor | If Popup , then this is
the anchor for the popup, otherwise the parameter is ignored |
layout | The layout resource id that is used to inflate the view |
data | Optional registration data to pre-fill some registration fields. |
startType | Specifies how the view should be shown. |
This Method opens a view to let the user select a contact from local address book
activity | The activity that opens the new view. |
---|---|
anchor | If Popup , then this is
the anchor for the popup, otherwise the parameter is ignored |
layout | The layout resource id that is used to inflate the view |
filterProvider | A filter provider to filter the user list |
selectionKey | A key that is used to store the selection in
SCSelectionManager for later use. |
startType | Specifies how the view should be shown. |
This Method opens a view to let the user select a Friend
activity | The activity that opens the new view. Maybe null if
fragment is used |
---|---|
fragment | The fragment that opens the new view. Maybe null if
activity is used |
anchor | If Popup , then this is
the anchor for the popup, otherwise the parameter is ignored |
layout | The layout resource id that is used to inflate the view |
filterProvider | A filter provider to filter the user list |
selectionKey | A key that is used to store the selection in
SCSelectionManager for later use. |
startType | Specifies how the view should be shown. |
This Method opens a view to verify the phone number of the ueser
activity | The activity that opens the new view. |
---|---|
anchor | If Popup , then this is
the anchor for the popup, otherwise the parameter is ignored |
layout | The layout resource id that is used to inflate the view |
startType | Specifies how the view should be shown. |
This Method opens the video call view
context | The activity that opens the new view. |
---|---|
anchor | If Popup , then this is
the anchor for the popup, otherwise the parameter is ignored |
layout | The layout resource id that is used to inflate the view |
slave | The video call slave that controlls a video call. |
startType | Specifies how the view should be shown. |