OrangeChatConfiguration
public struct OrangeChatConfiguration
Defines OrangeChat SDK configuration
-
Url of the webcom platform.
Declaration
Swift
public let platformUrl: URL -
The application identifier (i.e the Webcom application/namespace name)
Declaration
Swift
public let applicationIdentifier: String -
Url of download media file server
Declaration
Swift
public let mediaServerDownloadUrl: URL -
Url of upload media file server
Declaration
Swift
public let mediaServerUploadUrl: URL -
All the image sent will be down scaled so its width and height is lower or equals to this value
Declaration
Swift
public let largeImageMaxWidthHeight: Float -
All the thumb sent will be down scaled so its width and height is lower or equals to this value
Declaration
Swift
public let thumbMaxWidthHeight: Float -
init(platformUrl:applicationIdentifier: mediaServerDownloadUrl: mediaServerUploadUrl: largeImageMaxWidthHeight: thumbMaxWidthHeight: ) Initializer
Declaration
Swift
public init( platformUrl: URL, applicationIdentifier: String, mediaServerDownloadUrl: URL, mediaServerUploadUrl: URL, largeImageMaxWidthHeight: Float = 1_600.0, thumbMaxWidthHeight: Float = 160.0 )
OrangeChatConfiguration Structure Reference