GoogleSignIn Framework Reference

Enumerations

The following enumerations are available globally.

  • A list of potential error codes returned from the Google Identity SDK.

    Declaration

    Swift

    enum GIDSignInErrorCode : Int

    Objective-C

    enum GIDSignInErrorCode {}
  • 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

    Swift

    enum GIDSignInButtonStyle : Int

    Objective-C

    enum GIDSignInButtonStyle {}
  • The color schemes supported by the GIDSignInButton.

    Declaration

    Swift

    enum GIDSignInButtonColorScheme : Int

    Objective-C

    enum GIDSignInButtonColorScheme {}