ZendeskSDKMessaging Documentation

Protocol Messaging​Delegate

@objc(ZDKMessagingDelegate)
public protocol MessagingDelegate: AnyObject  

Delegate to receive callbacks from the SDK.

MessagingDelegate MessagingDelegate AnyObject AnyObject MessagingDelegate->AnyObject

Conforms To

AnyObject

Default Implementations

messaging(_:​should​Handle​URL:​from:​)

func messaging(_ messaging: Messaging, shouldHandleURL url: URL, from source: URLSource) -> Bool  

Requirements

messaging(_:​should​Handle​URL:​from:​)

func messaging(_ messaging: Messaging, shouldHandleURL url: URL, from source: URLSource) -> Bool

Optional delegate that allows custom URL link handling.

Parameters

messaging Messaging

Messaging instance

url URL

The URL the user actioned.

source URLSource

The source from which the user actioned the URL from.

Returns

Return true if Messaging should handle the URL. Return false if there is a specified URL flow.