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
ornil
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 ornil
otherwise.error
The error when
tokenResult == nil
ornil
otherwise.