Protocol
MessagingDelegate
@objc(ZDKMessagingDelegate) public protocol MessagingDelegate: class
Delegate to receive callbacks from the SDK.
Relationships
Conforms To
class
Requirements
messaging(_:shouldHandleURL:from:)
func messaging(_ messaging: Messaging, shouldHandleURL url: URL, from source: URLSource) -> Bool
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.