public static class

PlayServicesErrorActivity.ErrorDialogFragment

extends DialogFragment
java.lang.Object
   ↳ androidx.fragment.app.Fragment
     ↳ androidx.fragment.app.DialogFragment
       ↳ com.urbanairship.google.PlayServicesErrorActivity.ErrorDialogFragment

Class Overview

A DialogFragment that wraps Google Play services error dialogs.

Summary

[Expand]
Inherited Constants
From class androidx.fragment.app.DialogFragment
[Expand]
Inherited Fields
From class androidx.fragment.app.Fragment
Public Constructors
ErrorDialogFragment()
Default constructor.
Public Methods
static PlayServicesErrorActivity.ErrorDialogFragment createInstance(int error)
Creates an instance of the error dialog with a given error code.
void onCancel(DialogInterface dialog)
Dialog onCreateDialog(Bundle savedInstanceState)
[Expand]
Inherited Methods
From class androidx.fragment.app.DialogFragment
From class androidx.fragment.app.Fragment
From class java.lang.Object
From interface android.content.ComponentCallbacks
From interface android.content.DialogInterface.OnCancelListener
From interface android.content.DialogInterface.OnDismissListener
From interface android.view.View.OnCreateContextMenuListener
From interface androidx.activity.result.ActivityResultCaller
From interface androidx.lifecycle.HasDefaultViewModelProviderFactory
From interface androidx.lifecycle.LifecycleOwner
From interface androidx.lifecycle.ViewModelStoreOwner
From interface androidx.savedstate.SavedStateRegistryOwner

Public Constructors

public ErrorDialogFragment ()

Default constructor.

Public Methods

public static PlayServicesErrorActivity.ErrorDialogFragment createInstance (int error)

Creates an instance of the error dialog with a given error code.

Parameters
error The error code.
Returns
  • An ErrorDialogFragment instance.

public void onCancel (DialogInterface dialog)

public Dialog onCreateDialog (Bundle savedInstanceState)