Protocol
MessagingDelegate
@objc(ZDKMessagingDelegate)
public protocol MessagingDelegate: AnyObject
Delegate to receive callbacks from the SDK.
Relationships
Conforms To
AnyObject
Default Implementations
Requirements
messaging(_:shouldHandleURL:from:)
Optional delegate that allows custom URL link handling.
Parameters
Name | Type | Description |
---|---|---|
messaging | Messaging |
|
url | URL |
The |
source | URLSource |
The |
Returns
Return true
if Messaging should handle the URL. Return false
if there is a specified URL flow.