From a45d6f1967b610c201f0530a9f72dd65081c1d9b Mon Sep 17 00:00:00 2001 From: Yevhen Kyivskyi Date: Thu, 26 Sep 2024 11:13:59 +0200 Subject: [PATCH] fixup! Add Engagement Launcher interface and getter from Glia --- GliaWidgets/Public/Glia/Glia+EngagementLauncher.swift | 5 ++--- .../Sources/EngagementLauncher/EngagementLauncher.swift | 2 ++ 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/GliaWidgets/Public/Glia/Glia+EngagementLauncher.swift b/GliaWidgets/Public/Glia/Glia+EngagementLauncher.swift index d795a4017..b86076f6b 100644 --- a/GliaWidgets/Public/Glia/Glia+EngagementLauncher.swift +++ b/GliaWidgets/Public/Glia/Glia+EngagementLauncher.swift @@ -1,14 +1,13 @@ import Foundation extension Glia { - /// Retrieves an instance of `EngagementLauncher` + /// Retrieves an instance of `EngagementLauncher`. /// /// - Parameters: /// - queueIds: A list of queue IDs to be used for the engagement launcher. When nil, the default queues will be used. /// /// - Returns: - /// - `EngagementLauncher` instance - /// + /// - `EngagementLauncher` instance. public func getEngagementLauncher(queueIds: [String]?) -> EngagementLauncher { .init(queueIds: queueIds) } diff --git a/GliaWidgets/Sources/EngagementLauncher/EngagementLauncher.swift b/GliaWidgets/Sources/EngagementLauncher/EngagementLauncher.swift index f556c8079..6bbb75860 100644 --- a/GliaWidgets/Sources/EngagementLauncher/EngagementLauncher.swift +++ b/GliaWidgets/Sources/EngagementLauncher/EngagementLauncher.swift @@ -1,6 +1,8 @@ import Foundation import GliaCoreSDK + /// `EngagementLauncher`class allows launching different types of engagements, such as chat, + /// audio calls, video calls, and secure messaging. public final class EngagementLauncher { private let queueIds: [String]?