-
- 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. -
Methods inherited from class com.facebook.internal.FacebookDialogBase
canShow, getCallbackManager$facebook_common_debug, getRequestCode, registerCallback, setCallbackManager, setCallbackManager$facebook_common_debug, setRequestCode, show -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
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.
-
-
-
-