GooglePlayServicesRepairableException

class GooglePlayServicesRepairableException : UserRecoverableException


GooglePlayServicesRepairableExceptions are special instances of s which are thrown when Google Play services is not installed, up-to-date, or enabled. In these cases, client code can use getConnectionStatusCode in conjunction with getErrorDialog to provide users with a localized android.app.Dialog that will allow users to install, update, or otherwise enable Google Play services.

Summary

Public constructors

GooglePlayServicesRepairableException(
    connectionStatusCode: Int,
    msg: String!,
    intent: Intent!
)

Creates a GooglePlayServicesRepairableException.

Public properties

Int

Public constructors

GooglePlayServicesRepairableException

GooglePlayServicesRepairableException(
    connectionStatusCode: Int,
    msg: String!,
    intent: Intent!
)

Creates a GooglePlayServicesRepairableException.

Parameters
connectionStatusCode: Int

a code for the ConnectionResultstatusCode of the exception

msg: String!

a string message for the exception

intent: Intent!

an intent that may be started to resolve the connection issue with Google Play services

Public properties

connectionStatusCode

val connectionStatusCodeInt