FIRActionCodeURL
@interface FIRActionCodeURL : NSObjectThis class will allow developers to easily extract information about out of band links.
-
Returns the API key from the link. nil, if not provided.
Declaration
Objective-C
@property (nonatomic, copy, readonly, nullable) NSString *APIKey; -
Returns the mode of oob action. The property will be of
FIRActionCodeOperationtype. It will returnFIRActionCodeOperationUnknownif no oob action is provided.Declaration
Objective-C
@property (nonatomic, readonly) FIRActionCodeOperation operation; -
Returns the email action code from the link. nil, if not provided.
Declaration
Objective-C
@property (nonatomic, copy, readonly, nullable) NSString *code; -
Returns the continue URL from the link. nil, if not provided.
Declaration
Objective-C
@property (nonatomic, copy, readonly, nullable) NSURL *continueURL; -
Returns the language code from the link. nil, if not provided.
Declaration
Objective-C
@property (nonatomic, copy, readonly, nullable) NSString *languageCode; -
Construct an
ActionCodeURLfrom an out of band link (e.g. email link).Declaration
Objective-C
+ (nullable instancetype)actionCodeURLWithLink:(nonnull NSString *)link;Parameters
linkThe oob link string used to construct the action code URL.
Return Value
The
ActionCodeURLobject constructed based on the oob link provided. -
Please use
init(link:)in Swift oractionCodeURLWithLink:in Objective-C instead.Declaration
Objective-C
- (nonnull instancetype)init;