AI-generated Key Takeaways
-
GIDSignInErrorCode lists potential error codes from the Google Sign-In SDK.
-
GIDSignInButtonStyle describes the layout styles for the GIDSignInButton and their minimum size requirements.
-
GIDSignInButtonColorScheme defines the color schemes available for the GIDSignInButton.
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 = GIDSignInErrorObjective-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 {}