// // Copyright (C) 2014 Google Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in writing, software // distributed under the License is distributed on an "AS IS" BASIS, // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. // #if UNITY_ANDROID namespace GooglePlayGames.BasicApi { /// /// Common status codes. /// See https://developers.google.com/android/reference/com/google/android/gms/common/api/CommonStatusCodes /// public enum CommonStatusCodes { /// The operation was successful, but the device's cache was used. SuccessCached = -1, /// The operation was successful. Success = 0, /// Google Play services is missing on this device. ServiceMissing = 1, /// The installed version of Google Play services is out of date. ServiceVersionUpdateRequired = 2, /// The installed version of Google Play services has been disabled on this device. ServiceDisabled = 3, /// The client attempted to connect to the service but the user is not signed in. SignInRequired = 4, /// The client attempted to connect to the service with an invalid account name specified. InvalidAccount = 5, /// Completing the operation requires some form of resolution. ResolutionRequired = 6, /// A network error occurred. NetworkError = 7, /// An internal error occurred. InternalError = 8, /// The version of the Google Play services installed on this device is not authentic. ServiceInvalid = 9, /// The application is misconfigured. DeveloperError = 10, /// The application is not licensed to the user. LicenseCheckFailed = 11, /// The operation failed with no more detailed information. Error = 13, /// A blocking call was interrupted while waiting and did not run to completion. Interrupted = 14, /// Timed out while awaiting the result. Timeout = 15, /// The result was canceled either due to client disconnect or cancel(). Canceled = 16, /// The client attempted to call a method from an API that failed to connect. ApiNotConnected = 17, /// Invalid credentials were provided. AuthApiInvalidCredentials = 3000, /// Access is forbidden. AuthApiAccessForbidden = 3001, /// Error related to the client. AuthApiClientError = 3002, /// Error related to the server. AuthApiServerError = 3003, /// Error related to token. AuthTokenError = 3004, /// Error related to auth URL resolution. AuthUrlResolution = 3005 } } #endif