Input
@objcMembers
open class Input : SBUBaseChannelModule.Input
The SBUOpenChannelModule
‘s component class that represents input.
-
The open channel object casted from
baseChannel
.Declaration
Swift
public var channel: SBDOpenChannel? { get }
-
The object that acts as the delegate of the input component. The delegate must adopt the
SBUOpenChannelModuleInputDelegate
.Declaration
Swift
public weak var delegate: SBUOpenChannelModuleInputDelegate? { get set }
-
The object that acts as the data source of the input component. The data source must adopt the
SBUOpenChannelModuleInputDataSource
.Declaration
Swift
public weak var dataSource: SBUOpenChannelModuleInputDataSource? { get set }
-
Configures component with parameters.
Declaration
Swift
open func configure(delegate: SBUOpenChannelModuleInputDelegate, dataSource: SBUOpenChannelModuleInputDataSource, theme: SBUChannelTheme)
Parameters
delegate
SBUGroupChannelModuleListDelegate
type listenerdataSource
The data source that is type of
SBUOpenChannelModuleInputDataSource
theme
SBUChannelTheme
object -
Updates styles with overlaying state.
Declaration
Swift
open func updateStyles(overlaid: Bool = false)
Parameters
overlaid
The boolean value whether the input component is overlaid or not. The default value is
false
. -
Declaration
Swift
open override func pickImageFile(info: [UIImagePickerController.InfoKey : Any])
-
Declaration
Swift
open override func pickVideoFile(info: [UIImagePickerController.InfoKey : Any])
-
Declaration
Swift
@available(iOS 14.0, *) open override func pickImageFile(itemProvider: NSItemProvider)
-
Declaration
Swift
@available(iOS 14.0, *) open override func pickGIFFile(itemProvider: NSItemProvider)
-
Declaration
Swift
@available(iOS 14.0, *) open override func pickVideoFile(itemProvider: NSItemProvider)
-
Declaration
Swift
open override func pickDocumentFile(documentUrls: [URL])
-
Declaration
Swift
open override func pickImageData(_ data: Data)
-
Declaration
Swift
open override func pickVideoURL(_ url: URL)
-
Updates state of
messageInputView
.Declaration
Swift
open override func updateMessageInputModeState()
-
This is used to update frozen mode of
messageInputView
. This will callSBUBaseChannelModuleInputDelegate baseChannelModule(_:didUpdateFrozenState:)
Declaration
Swift
open override func updateFrozenModeState()