LMVideoStreamNotificationView
@MainActor
public class LMVideoStreamNotificationView : UIView, LMVideoStreamNotificationViewProtocol
Default notification view implementation
-
Initialize notification view in frame
Declaration
Swift
@MainActor public override init(frame: CGRect)
Parameters
frame
initialization frame
-
Default init, don’t use.
Declaration
Swift
@MainActor required public init?(coder: NSCoder)
Parameters
coder
default coder argument
-
Show message (in error container) in notification view
Declaration
Swift
@MainActor public func showNotificationMessage(_ newMessage: Error?)
Parameters
newMessage
error to show
-
Get current notification message
Declaration
Swift
@MainActor public func notificationMessage() -> Error?
Return Value
current message in error container
-
Use to define font for text in notification view
Declaration
Swift
@MainActor public func applyFont(_ useFont: UIFont)
Parameters
useFont
UIFont object to use
-
Define color for notification text
Declaration
Swift
@MainActor public func applyTextColor(_ color: UIColor)
Parameters
color
UIColor object which will be applied to UILabel of notification