PlayerWarningEvent
@available(*, deprecated, message: "Warnings are now communicated through logs with level `.warning`. These logs are printed to the console by default. You can also access them by providing your own logger to `DebugConfig.logging.logger`\"")
@objcMembers
@objc(BMPPlayerWarningEvent)
public class PlayerWarningEvent : PlayerEvent, @unchecked Sendable
See PlayerListener
for more information on this event.
-
Declaration
Swift
public let code: PlayerWarning.Code
-
Declaration
Swift
public let message: String
-
Declaration
Swift
public let data: DeficiencyData?
-
Declaration
Swift
override public var name: String { get }
-
Declaration
Swift
public init(code: PlayerWarning.Code, message: String, data: DeficiencyData?)