ZendeskSDKMessaging Documentation Beta

Protocol Messaging​Delegate

@objc(ZDKMessagingDelegate) public protocol MessagingDelegate: class

Delegate to receive callbacks from the SDK.

MessagingDelegate MessagingDelegate class class MessagingDelegate->class

Conforms To

class

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.