UAComponent
Objective-C
@protocol UAComponent <NSObject>
Swift
protocol Component : NSObjectProtocol
Base class for main SDK components.
-
Called to handle
uairship://
deep links. The first component that returnYES
will prevent others from receiving the deep link.Declaration
Objective-C
- (BOOL)deepLink:(nonnull NSURL *)deepLink;
Swift
optional func deepLink(_ deepLink: URL) -> Bool
Parameters
deepLink
The deep link.
Return Value
YES
is the deep link was handled, otherwiseNO
.