CrossDevicePromptException


class CrossDevicePromptException : ApiException


An exception indicating something went wrong with the Cross Device Prompt API.

See getErrorCode for the specific problem.

Summary

Public functions

Int

Returns an error code value from CrossDevicePromptErrorCode.

Int

Returns the error code resulting from the operation.

Inherited properties

From com.google.android.gms.common.api.ApiException
Status!

This property is deprecated.

Public constructors

CrossDevicePromptException

CrossDevicePromptException(@CrossDevicePromptErrorCode errorCode: Int)

CrossDevicePromptException

CrossDevicePromptException(status: Status!)

Public functions

getErrorCode

@CrossDevicePromptErrorCode
fun getErrorCode(): Int

Returns an error code value from CrossDevicePromptErrorCode.

getStatusCode

fun getStatusCode(): Int

Returns the error code resulting from the operation. The value is one of the constants in CrossDevicePromptErrorCode. getStatusCode() is unsupported by CrossDevicePromptException, please use getErrorCode() instead.