BMPPlayerEvent

Objective-C


@interface BMPPlayerEvent : NSObject <BMPJsonable>

Swift

class PlayerEvent : NSObject, BMPJsonable

Base class for all event classes.

  • Undocumented

    Declaration

    Objective-C

    @property (nonatomic, readonly, strong) NSString *name

    Swift

    var name: String { get }
  • Undocumented

    Declaration

    Objective-C

    @property (nonatomic, readonly) NSTimeInterval timestamp

    Swift

    var timestamp: TimeInterval { get }
  • Undocumented

    Declaration

    Objective-C

    - (nullable instancetype)initWithJsonData:(NSDictionary *)jsonData error:(NSError **)error;

    Swift

    init(jsonData: [AnyHashable : Any]) throws