-
- All Implemented Interfaces:
-
com.facebook.FacebookDialog
public class ContextSwitchDialog extends FacebookDialogBase<ContextSwitchContent, ContextSwitchDialog.Result>
Provides functionality to switch contexts in games.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classContextSwitchDialog.Result
-
Constructor Summary
Constructors Constructor Description ContextSwitchDialog(Activity activity)Constructs a new ContextSwitchDialog. ContextSwitchDialog(Fragment fragment)Constructs a new ContextSwitchDialog. ContextSwitchDialog(Fragment fragment)Constructs a new ContextSwitchDialog.
-
Method Summary
Modifier and Type Method Description booleancanShow(ContextSwitchContent content)Indicates whether the context switch dialog can be shown. -
-
Constructor Detail
-
ContextSwitchDialog
ContextSwitchDialog(Activity activity)
Constructs a new ContextSwitchDialog.- Parameters:
activity- Activity to use to trigger this Dialog.
-
ContextSwitchDialog
ContextSwitchDialog(Fragment fragment)
Constructs a new ContextSwitchDialog.- Parameters:
fragment- fragment to use to trigger this Dialog.
-
ContextSwitchDialog
ContextSwitchDialog(Fragment fragment)
Constructs a new ContextSwitchDialog.- Parameters:
fragment- fragment to use to trigger this Dialog.
-
-
Method Detail
-
canShow
boolean canShow(ContextSwitchContent content)
Indicates whether the context switch dialog can be shown.
-
-
-
-