Enumerations
The following enumerations are available globally.
-
A list of potential error codes returned from the Google Sign-In SDK.
Declaration
Swift
typealias GIDSignInError.Code._ErrorType = GIDSignInError
Objective-C
enum GIDSignInErrorCode : NSInteger {}
-
The layout styles supported by the
GIDSignInButton
.The minimum size of the button depends on the language used for text. The following dimensions (in points) fit for all languages:
- kGIDSignInButtonStyleStandard: 230 x 48
- kGIDSignInButtonStyleWide: 312 x 48
- kGIDSignInButtonStyleIconOnly: 48 x 48 (no text, fixed size)
Declaration
Objective-C
enum GIDSignInButtonStyle : NSInteger {}
-
The color schemes supported by the
GIDSignInButton
.Declaration
Objective-C
enum GIDSignInButtonColorScheme : NSInteger {}