public interface

IDialogFactory

com.c2call.sdk.pub.gui.dialog.IDialogFactory
Known Indirect Subclasses

Class Overview

This interface provides methods to create new SCChoiceDialogs An implementation if this interface has to be set in the singleton of C2CallSdk

Summary

Public Methods
abstract SCChoiceDialog createAddCreditDialog(IController<?> controller)
Creates a dialog to choose a method to add credit
abstract SCChoiceDialog createAddFriendDialog(IController<?> controller)
Creates a contetx dialog to chose a method to add a friend
abstract SCChoiceDialog createAddNumberDialog(IContactDetailController controller)
Creates a dialog to choose a number type to add within a contact detail view
abstract SCChoiceDialog createBoardItemDialog(IBoardListItemBaseController<?> controller)
Creates a contetx dialog for board list items
abstract SCChoiceDialog createContactListItemDialog(IContactListItemController controller)
Creates a contetx dialog for address book list items
abstract SCChoiceDialog createFilterBoardDialog(IBoardController controller)
Creates a dialog to choose a filter for the board
abstract SCChoiceDialog createFilterFriendsDialog(IFriendsController controller)
Creates a dialog to choose a filter for friend list
abstract SCChoiceDialog createFriendListItemDialog(IFriendListItemController controller)
Creates a contetx dialog for friend list items
abstract SCChoiceDialog createInviteDialog(IController<?> controller)
Creates a dialog to choose a method to invite contacts
abstract SCChoiceDialog createNumberChoiceDialog(IController<?> controller, SCCountry country)
Creates a dialog to choose country or area.
abstract SCChoiceDialog createOfflineComunicationDialog(IUserController<?> controller)
Creates a dialog to choose a communication method if a friend is offline.
abstract SCChoiceDialog createPhotoDialog(IController<?> controller, String filename)
Creates a dialog to choose how to get a photo.
abstract SCChoiceDialog createRichMessageDialog(IController<?> controller, boolean isSms)
Creates a dialog to choose a rich media attachment for a message
abstract SCChoiceDialog createSpreadDialog(IController<?> controller)
Creates a dialog to choose a method to let others now about your app
abstract SCChoiceDialog createVideoDialog(IController<?> controller, String filename)
Creates a dialog to choose how to get a video.

Public Methods

public abstract SCChoiceDialog createAddCreditDialog (IController<?> controller)

Creates a dialog to choose a method to add credit

Parameters
controller The controller to show the Dialog for. Must not be null
Returns
  • Newly created dialog.

public abstract SCChoiceDialog createAddFriendDialog (IController<?> controller)

Creates a contetx dialog to chose a method to add a friend

Parameters
controller The controller to show the Dialog for. Must not be null
Returns
  • Newly created dialog.

public abstract SCChoiceDialog createAddNumberDialog (IContactDetailController controller)

Creates a dialog to choose a number type to add within a contact detail view

Parameters
controller The controller to show the dialog for. Must not be null
Returns
  • Newly created dialog.

public abstract SCChoiceDialog createBoardItemDialog (IBoardListItemBaseController<?> controller)

Creates a contetx dialog for board list items

Parameters
controller The controller to show the Dialog for. Must not be null
Returns
  • Newly created dialog.

public abstract SCChoiceDialog createContactListItemDialog (IContactListItemController controller)

Creates a contetx dialog for address book list items

Parameters
controller The controller to show the Dialog for. Must not be null
Returns
  • Newly created dialog.

public abstract SCChoiceDialog createFilterBoardDialog (IBoardController controller)

Creates a dialog to choose a filter for the board

Parameters
controller The controller to show the Dialog for. Must not be null
Returns
  • Newly created dialog.

public abstract SCChoiceDialog createFilterFriendsDialog (IFriendsController controller)

Creates a dialog to choose a filter for friend list

Parameters
controller The controller to show the Dialog for. Must not be null
Returns
  • Newly created dialog.

public abstract SCChoiceDialog createFriendListItemDialog (IFriendListItemController controller)

Creates a contetx dialog for friend list items

Parameters
controller The controller to show the Dialog for. Must not be null
Returns
  • Newly created dialog.

public abstract SCChoiceDialog createInviteDialog (IController<?> controller)

Creates a dialog to choose a method to invite contacts

Parameters
controller The controller to show the Dialog for. Must not be null
Returns
  • Newly created dialog.

public abstract SCChoiceDialog createNumberChoiceDialog (IController<?> controller, SCCountry country)

Creates a dialog to choose country or area.

Parameters
controller The controller to show the Dialog for. Must not be null
country The country from currentLocation.
Returns
  • Newly created dialog.

public abstract SCChoiceDialog createOfflineComunicationDialog (IUserController<?> controller)

Creates a dialog to choose a communication method if a friend is offline.

Parameters
controller The controller to show the Dialog for. Must not be null
Returns
  • Newly created dialog.

public abstract SCChoiceDialog createPhotoDialog (IController<?> controller, String filename)

Creates a dialog to choose how to get a photo.

Parameters
controller The controller to show the Dialog for. Must not be null
filename The filename where the photo will be stored if taken from camera. If null a default location will be taken.
Returns
  • Newly created dialog.

public abstract SCChoiceDialog createRichMessageDialog (IController<?> controller, boolean isSms)

Creates a dialog to choose a rich media attachment for a message

Parameters
controller The controller to show the Dialog for. Must not be null
Returns
  • Newly created dialog.

public abstract SCChoiceDialog createSpreadDialog (IController<?> controller)

Creates a dialog to choose a method to let others now about your app

Parameters
controller The controller to show the Dialog for. Must not be null
Returns
  • Newly created dialog.

public abstract SCChoiceDialog createVideoDialog (IController<?> controller, String filename)

Creates a dialog to choose how to get a video.

Parameters
controller The controller to show the Dialog for. Must not be null
filename The filename where the video will be stored if taken from camera. If null a default location will be taken.
Returns
  • Newly created dialog.