ActionCodeURL
class ActionCodeURL : NSObject
This 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
Swift
var apiKey: String? { get }
-
Returns the mode of oob action. The property will be of
FIRActionCodeOperation
type. It will returnFIRActionCodeOperationUnknown
if no oob action is provided.Declaration
Swift
var operation: ActionCodeOperation { get }
-
Returns the email action code from the link. nil, if not provided.
Declaration
Swift
var code: String? { get }
-
Returns the continue URL from the link. nil, if not provided.
Declaration
Swift
var continueURL: URL? { get }
-
Returns the language code from the link. nil, if not provided.
Declaration
Swift
var languageCode: String? { get }
-
Construct an
ActionCodeURL
from an out of band link (e.g. email link).Declaration
Swift
convenience init?(link: String)
Parameters
link
The oob link string used to construct the action code URL.
Return Value
The
ActionCodeURL
object constructed based on the oob link provided. -
Please use
init(link:)
in Swift oractionCodeURLWithLink:
in Objective-C instead.