Language

RestrictionResults Enum

Definition

Enumerates values returned by several methods of RestrictionResults.

public enum RestrictionResults
type RestrictionResults = 
Inheritance
RestrictionResults

Fields

Name Value Description
Approved 1

Response result value indicating that the request was approved.

ErrorBadRequest 1

Error code indicating that there was a problem with the request. Stored in RESPONSE_KEY_ERROR_CODE field in the response bundle.

Denied 2

Response result value indicating that the request was denied.

ErrorNetwork 2

Error code indicating that there was a problem with the network. Stored in RESPONSE_KEY_ERROR_CODE field in the response bundle.

ErrorInternal 3

Error code indicating that there was an internal error. Stored in RESPONSE_KEY_ERROR_CODE field in the response bundle.

NoResponse 3

Response result value indicating that the request has not received a response yet.

UnknownRequest 4

Response result value indicating that the request is unknown, when it's not a new request.

Error 5

Response result value indicating an error condition. Additional error code might be available in the response bundle, for the key RESPONSE_KEY_ERROR_CODE . There might also be an associated error message in the response bundle, for the key RESPONSE_KEY_MESSAGE .

Remarks

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to