public final class

AuthCancellation

extends Object
implements Parcelable
java.lang.Object
   ↳ com.amazon.identity.auth.device.api.authorization.AuthCancellation

Class Overview

Result returned by onCancel(AuthCancellation) when an AuthorizeRequest has been cancelled.{@since 3.0 }

Summary

Nested Classes
enum AuthCancellation.Cause Enumeration of the abstract reasons of why an AuthorizeRequest was cancelled. 
[Expand]
Inherited Constants
From interface android.os.Parcelable
Fields
public static final Creator<AuthCancellation> CREATOR
Public Constructors
AuthCancellation(AuthCancellation.Cause cause, String description)
Public Methods
int describeContents()
boolean equals(Object obj)
AuthCancellation.Cause getCause()
The abstract reason why the request was cancelled.
String getDescription()
A non-localized description of the authorize cancellation reason.
int hashCode()
String toString()
void writeToParcel(Parcel dest, int flags)
[Expand]
Inherited Methods
From class java.lang.Object
From interface android.os.Parcelable

Fields

public static final Creator<AuthCancellation> CREATOR

Public Constructors

public AuthCancellation (AuthCancellation.Cause cause, String description)

Public Methods

public int describeContents ()

public boolean equals (Object obj)

public AuthCancellation.Cause getCause ()

The abstract reason why the request was cancelled.

Returns
  • A Cause enum value for the cancellation reason.

public String getDescription ()

A non-localized description of the authorize cancellation reason.

Returns
  • A String of the cancellation reason.

public int hashCode ()

public String toString ()

public void writeToParcel (Parcel dest, int flags)