AppEngageException


class AppEngageException : ApiException


An exception indicating something went wrong with the App Engage API.

See getErrorCode for the specific problem.

Summary

Public constructors

AppEngageException(
    @AppEngageErrorCode errorCode: Int,
    errorMessage: String!
)

Public functions

Int

Returns an error code value from AppEngageErrorCode.

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

AppEngageException

AppEngageException(@AppEngageErrorCode errorCode: Int)

AppEngageException

AppEngageException(
    @AppEngageErrorCode errorCode: Int,
    errorMessage: String!
)

Public functions

getErrorCode

@AppEngageErrorCode
fun getErrorCode(): Int

Returns an error code value from AppEngageErrorCode.

getStatusCode

fun getStatusCode(): Int

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