VKPlayerViewControllerDelegate Protocol Reference

Conforms to NSObject
Declared in VKPlayerViewController.h

Overview

Implement this delegate if you want to get notified about state changes with error codes

– onPlayerViewControllerStateChanged:errorCode:

Optional delegate method, add this method to your viewcontroller if you want to be notified

- (void)onPlayerViewControllerStateChanged:(VKDecoderState)state errorCode:(VKError)errCode

Parameters

state

Indicates the state in VKDecoderState type

errCode

Indicates the error code in VKError type

Declared In

VKPlayerViewController.h

– onPlayerViewControllerDidStartRecordingWithPath:

Optional delegate method, add this method to your viewcontroller if you want to be notified about the start event of recording functionality

- (void)onPlayerViewControllerDidStartRecordingWithPath:(NSString *)recordPath

Parameters

recordPath

Indicates the path of recorded file

Declared In

VKPlayerViewController.h

– onPlayerViewControllerDidStopRecordingWithPath:error:

Optional delegate method, add this method to your viewcontroller if you want to be notified about the stop event of recording functionality

- (void)onPlayerViewControllerDidStopRecordingWithPath:(NSString *)recordPath error:(VKErrorRecorder)error

Parameters

recordPath

Indicates the path of recorded file

error

Indicates the error in VKErrorRecorder type, If success, returning error is kVKErrorRecorderNone

Declared In

VKPlayerViewController.h

– onPlayerViewControllerDidICYMetadataChanged:

Optional delegate method, add this method to your viewcontroller if you want to be notified about metadata information for http shoutcast/icy streams

- (void)onPlayerViewControllerDidICYMetadataChanged:(VKICYMetadata *)icyMetadata

Parameters

icyMetadata

Holds the metadata information as an instance of VKICYMetadata class

Declared In

VKPlayerViewController.h