public class AdviceDialogFragment extends DialogFragment implements AuthHandler
DialogFragment| Constructor and Description |
|---|
AdviceDialogFragment() |
| Modifier and Type | Method and Description |
|---|---|
void |
cancel(java.lang.Exception e)
Cancel the current authentication, will throw
OperationCanceledException
when user explicitly cancel the login. |
static AdviceDialogFragment |
newInstance(PolicyAdvice advice) |
void |
next(Node node)
Move to next node
|
void |
onCreate(android.os.Bundle savedInstanceState) |
android.view.View |
onCreateView(android.view.LayoutInflater inflater,
android.view.ViewGroup container,
android.os.Bundle savedInstanceState) |
void |
onDismiss(android.content.DialogInterface dialog) |
void |
onResume() |
void |
setListener(<any> listener) |
public static AdviceDialogFragment newInstance(PolicyAdvice advice)
public void onCreate(android.os.Bundle savedInstanceState)
public void onDismiss(android.content.DialogInterface dialog)
public void onResume()
public android.view.View onCreateView(android.view.LayoutInflater inflater,
android.view.ViewGroup container,
android.os.Bundle savedInstanceState)
public void next(Node node)
AuthHandlernext in interface AuthHandlernode - The current Nodepublic void cancel(java.lang.Exception e)
AuthHandlerOperationCanceledException
when user explicitly cancel the login.cancel in interface AuthHandlere - Exception when cancelling the authentication process.public void setListener(<any> listener)