FirebaseInstallations Framework Reference

Type Definitions

The following type definitions are available globally.

  • An installation ID handler block.

    Declaration

    Objective-C

    typedef void (^FIRInstallationsIDHandler)(NSString *_Nullable,
                                              NSError *_Nullable)

    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

    Objective-C

    typedef void (^FIRInstallationsTokenHandler)(
        FIRInstallationsAuthTokenResult *_Nullable, NSError *_Nullable)

    Parameters

    tokenResult

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

    error

    The error when tokenResult == nil or nil otherwise.