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
frameinitialization frame
-
Default init, don’t use.
Declaration
Swift
@MainActor required public init?(coder: NSCoder)Parameters
coderdefault coder argument
-
Show message (in error container) in notification view
Declaration
Swift
@MainActor public func showNotificationMessage(_ newMessage: Error?)Parameters
newMessageerror 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
useFontUIFont object to use
-
Define color for notification text
Declaration
Swift
@MainActor public func applyTextColor(_ color: UIColor)Parameters
colorUIColor object which will be applied to UILabel of notification
LMVideoStreamNotificationView Class Reference