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
identifierThe installation ID string if exists or
nilotherwise.errorThe error when
identifier == nilornilotherwise. -
An authorization token handler block.
Declaration
Objective-C
typedef void (^FIRInstallationsTokenHandler)( FIRInstallationsAuthTokenResult *_Nullable, NSError *_Nullable)Parameters
tokenResultAn instance of
InstallationsAuthTokenResultin case of success ornilotherwise.errorThe error when
tokenResult == nilornilotherwise.