BCOVInteractivityAnnotation Class Reference

Inherits from NSObject
Declared in BCOVInteractivityAnnotation.h

+ annotationsFromJSONArray:

+ (NSArray<BCOVInteractivityAnnotation*> *)annotationsFromJSONArray:(NSArray<NSDictionary*> *)jsonArray

+ initWithJSON:

+ (instancetype)initWithJSON:(NSDictionary *)json

  annotationView

@property (nonatomic, strong, nullable) UIView *annotationView

  type

@property (nonatomic, assign) BCOVInteractivityAnnotationType type

  state

@property (nonatomic, assign) BCOVInteractivityAnnotationState state

  transition

@property (nonatomic, assign) BCOVInteractivityAnnotationTransition transition

  annotationId

@property (nonatomic, copy) NSString *annotationId

  startTime

@property (nonatomic, assign) NSTimeInterval startTime

  duration

@property (nonatomic, assign) NSTimeInterval duration

  rawType

@property (nonatomic, copy, nullable) NSString *rawType

  text

@property (nonatomic, copy, nullable) NSString *text

  title

@property (nonatomic, copy, nullable) NSString *title

  left

@property (nonatomic, copy, nullable) NSString *left

  top

@property (nonatomic, copy, nullable) NSString *top

  width

@property (nonatomic, copy, nullable) NSString *width

  height

@property (nonatomic, copy, nullable) NSString *height

  url

@property (nonatomic, copy, nullable) NSString *url

  precondition

@property (nonatomic, copy, nullable) NSString *precondition

  command

@property (nonatomic, copy, nullable) NSString *command

  mode

@property (nonatomic, copy, nullable) NSString *mode

  commandData

@property (nonatomic, strong, nullable) NSDictionary *commandData

  onClick

@property (nonatomic, strong, nullable) NSDictionary *onClick

  gotoTrack

@property (nonatomic, copy, nullable) NSString *gotoTrack

  backgroundColor

@property (nonatomic, copy, nullable) NSString *backgroundColor