Inherits from NSObject
Declared in MSFKMediaStatus.h
MSFKMediaStatus.m

Overview

A class that holds status information about some media.

Properties

customData

Any custom data that is associated with the media item.

@property (nonatomic, strong, readonly) id customData

Discussion

Any custom data that is associated with the media item.

Declared In

MSFKMediaStatus.h

idleReason

The current idle reason. This value is only meaningful if the player state is MSFKMediaPlayerStateIdle.

@property (nonatomic, readonly) MSFKMediaPlayerIdleReason idleReason

Discussion

The current idle reason. This value is only meaningful if the player state is MSFKMediaPlayerStateIdle.

Declared In

MSFKMediaStatus.h

isMuted

The stream’s mute state.

@property (nonatomic, readonly) BOOL isMuted

Discussion

The stream’s mute state.

Declared In

MSFKMediaStatus.h

mediaInformation

The MSFKMediaInformation for this item.

@property (nonatomic, strong, readonly) MSFKMediaInformation *mediaInformation

Discussion

The MSFKMediaInformation for this item.

Declared In

MSFKMediaStatus.h

mediaSessionID

The media session ID for this item.

@property (nonatomic, readonly) NSInteger mediaSessionID

Discussion

The media session ID for this item.

Declared In

MSFKMediaStatus.h

playbackRate

Gets the current stream playback rate. This will be negative if the stream is seeking backwards, 0 if the stream is paused, 1 if the stream is playing normally, and some other postive value if the stream is seeking forwards.

@property (nonatomic, readonly) float playbackRate

Discussion

Gets the current stream playback rate. This will be negative if the stream is seeking backwards, 0 if the stream is paused, 1 if the stream is playing normally, and some other postive value if the stream is seeking forwards.

Declared In

MSFKMediaStatus.h

playerState

The current player state.

@property (nonatomic, readonly) MSFKMediaPlayerState playerState

Discussion

The current player state.

Declared In

MSFKMediaStatus.h

streamPosition

The current stream position, as an NSTimeInterval from the start of the stream.

@property (nonatomic) NSTimeInterval streamPosition

Discussion

The current stream position, as an NSTimeInterval from the start of the stream.

Declared In

MSFKMediaStatus.h

volume

The stream’s volume.

@property (nonatomic) float volume

Discussion

The stream’s volume.

Declared In

MSFKMediaStatus.h

Instance Methods

initWithSessionID:mediaInformation:

Designated initializer.

- (id)initWithSessionID:(NSInteger)mediaSessionID mediaInformation:(MSFKMediaInformation *)mediaInformation

Parameters

mediaSessionID

The media session ID.

mediaInformation

The media information.

Discussion

Designated initializer.

Declared In

MSFKMediaStatus.h

isMediaCommandSupported:

Checks if the stream supports a given control command.

- (BOOL)isMediaCommandSupported:(NSInteger)command

Discussion

Checks if the stream supports a given control command.

Declared In

MSFKMediaStatus.h