FirebaseInstallations Framework Reference

Type Definitions

The following type definitions are available globally.

  • An installation ID handler block.

    Declaration

    Swift

    typealias InstallationsIDHandler = (String?, Error?) -> Void

    Parameters

    identifier

    The installation ID string if exists or nil otherwise.

    error

    The error when identifier == nil or nil otherwise.

  • An authorization token handler block.

    Declaration

    Swift

    typealias InstallationsTokenHandler = (FIRInstallationsAuthTokenResult?, Error?) -> Void

    Parameters

    tokenResult

    An instance of InstallationsAuthTokenResult in case of success or nil otherwise.

    error

    The error when tokenResult == nil or nil otherwise.