You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
/// A Visitor code can be displayed to the Visitor. The Visitor can then inform OmniBrowse Operators of their code. OmniBrowse Operators use the Visitor’s code to start an OmniBrowse Engagement with the Visitor.
812
+
/// Each Visitor code is generated on demand and is unique for every Visitor on a particular site. Upon the first time this function is called for a Visitor the code is generated and returned. For each successive call thereafter the same code will be returned as long as the code has not expired. The expiration time for Visitor codes is 3 hours. During that time the code can be used to initiate an engagement. Once Operator uses the Visitor code to initiate an engagement, the code will expire immediately. When the Visitor Code expires this function will return a new Visitor code.
813
+
/// The expiration time is important to take note of if you plan on retrieving the code only once during the Visitor’s session. A new code should be requested once the initial one has expired. When Visitor provides an expired code to Operator the Operator will not be able to connect with the Visitor.
772
814
/// <ul>
773
815
/// <li>
774
816
/// parameters:
775
817
/// </li>
776
818
/// <li>
777
-
/// offer: The `MediaUpgradeOffer’ that is used for the request
778
-
/// </li>
779
-
/// <li>
780
-
/// completion: A callback that returns the upgrade result or <code>SalemoveError</code>
819
+
/// completion: A callback that will return the visitor code or <code>SalemoveError</code>
781
820
/// </li>
782
821
/// </ul>
783
822
/// If the request is unsuccessful for any reason then the completion will have an Error.
/// A Visitor code can be displayed to the Visitor. The Visitor can then inform OmniBrowse Operators of their code. OmniBrowse Operators use the Visitor’s code to start an OmniBrowse Engagement with the Visitor.
816
-
/// Each Visitor code is generated on demand and is unique for every Visitor on a particular site. Upon the first time this function is called for a Visitor the code is generated and returned. For each successive call thereafter the same code will be returned as long as the code has not expired. The expiration time for Visitor codes is 3 hours. During that time the code can be used to initiate an engagement. Once Operator uses the Visitor code to initiate an engagement, the code will expire immediately. When the Visitor Code expires this function will return a new Visitor code.
817
-
/// The expiration time is important to take note of if you plan on retrieving the code only once during the Visitor’s session. A new code should be requested once the initial one has expired. When Visitor provides an expired code to Operator the Operator will not be able to connect with the Visitor.
850
+
/// Request media upgrade with specific offer
818
851
/// <ul>
819
852
/// <li>
820
853
/// parameters:
821
854
/// </li>
822
855
/// <li>
823
-
/// completion: A callback that will return the visitor code or <code>SalemoveError</code>
856
+
/// offer: The `MediaUpgradeOffer’ that is used for the request
857
+
/// </li>
858
+
/// <li>
859
+
/// completion: A callback that returns the upgrade result or <code>SalemoveError</code>
824
860
/// </li>
825
861
/// </ul>
826
862
/// If the request is unsuccessful for any reason then the completion will have an Error.
/// The information provided by this endpoint is available to all the Operators observing or interacting with the Visitor. This means that this endpoint can be used to provide additional context about the Visitor to the Operators. For example, if a Visitor is logged into the current site and their name and email are recorded on their profile, then taking the data from the profile and passing it into this endpoint helps the Operators see the real names and emails of every logged in Visitor even before they start a conversation.
Copy file name to clipboardExpand all lines: SalemoveSDK.xcframework/ios-arm64/SalemoveSDK.framework/Modules/SalemoveSDK.swiftmodule/arm64-apple-ios.swiftinterface
+14-3Lines changed: 14 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -58,7 +58,7 @@ public protocol PushNotificationConfigurable {
58
58
case end
59
59
case failed
60
60
case message
61
-
case operatorTypingIndicator
61
+
case transfer
62
62
public typealias RawValue = Swift.Int
63
63
public init?(rawValue: Swift.Int)
64
64
public var rawValue: Swift.Int {
@@ -73,6 +73,7 @@ public protocol PushNotificationConfigurable {
73
73
@objc func start()
74
74
@objc func end()
75
75
@objc var onEngagementRequest: SalemoveSDK.RequestOfferBlock { get }
76
+
@objc var onEngagementTransfer: SalemoveSDK.EngagementTransferBlock { get }
76
77
}
77
78
@objc public protocol MessageHandling {
78
79
@objc func receive(message: SalemoveSDK.Message)
@@ -137,11 +138,16 @@ public typealias VisitorScreenSharingStateChange = (SalemoveSDK.VisitorScreenSha
137
138
public typealias AudioStreamAddedBlock = (SalemoveSDK.AudioStreamable?, SalemoveSDK.SalemoveError?) -> Swift.Void
138
139
public typealias VideoStreamAddedBlock = (SalemoveSDK.VideoStreamable?, SalemoveSDK.SalemoveError?) -> Swift.Void
139
140
public typealias MessagesUpdateBlock = ([SalemoveSDK.Message]) -> Swift.Void
141
+
public typealias EngagementTransferBlock = ([SalemoveSDK.Operator]?) -> Swift.Void
140
142
public typealias PushActionBlock = (SalemoveSDK.Push) -> Swift.Void
141
143
public typealias OperatorTypingStatusUpdate = (SalemoveSDK.OperatorTypingStatus) -> Swift.Void
142
144
public typealias EngagementFileProgressBlock = (SalemoveSDK.EngagementFileProgress) -> Swift.Void
143
145
public typealias EngagementFileCompletionBlock = (SalemoveSDK.EngagementFileInformation?, SalemoveSDK.SalemoveError?) -> Swift.Void
144
146
public typealias EngagementFileFetchCompletionBlock = (SalemoveSDK.EngagementFileData?, SalemoveSDK.SalemoveError?) -> Swift.Void
0 commit comments