BCOVPlaybackSessionLifecycleEvent Class Reference

Inherits from NSObject
Conforms to NSCopying
Declared in BCOVPlaybackSession.h

Overview

A lifecycle event for a playback session.

  eventType

This lifecycle event’s type.

@property (nonatomic, readonly) NSString *eventType

Discussion

This lifecycle event’s type.

Declared In

BCOVPlaybackSession.h

  properties

Contextual information related to this event instance.

@property (nonatomic, readonly) NSDictionary *properties

Discussion

Contextual information related to this event instance.

Declared In

BCOVPlaybackSession.h

– initWithEventType:properties:

Designated initializer. Returns an event with the specified type and properties.

- (instancetype)initWithEventType:(NSString *)eventType properties:(NSDictionary *)properties

Parameters

eventType

Type of the event.

properties

Properties of the event

Return Value

Initialized event.

Discussion

Designated initializer. Returns an event with the specified type and properties.

Declared In

BCOVPlaybackSession.h

– isEqualToPlaybackSessionLifecycleEvent:

Determines the equality of the events.

- (BOOL)isEqualToPlaybackSessionLifecycleEvent:(BCOVPlaybackSessionLifecycleEvent *)event

Parameters

event

Event to check against.

Return Value

Returns YES if the events are equal and NO if the events are no equal.

Discussion

Determines the equality of the events.

Declared In

BCOVPlaybackSession.h

+ eventWithType:

Returns a playback session lifecycle event of the specified type with no properties.

+ (instancetype)eventWithType:(NSString *)eventType

Parameters

eventType

The event type of the lifecycle event to return.

Return Value

The playback session lifecycle event of the specified type.

Discussion

Returns a playback session lifecycle event of the specified type with no properties.

Declared In

BCOVPlaybackSession.h