AdaptrAudioPlayerLogger Protocol Reference

Conforms to NSObject
Declared in AdaptrAudioPlayer.h

Overview

When events are reported to the feed.fm servers via [AdaptrAudioPlayer logEvent] and [AdaptrAudioPlayer logEvent:withParameters], those events will also be reported to any class implementing this protocol and assigned to the [AdaptrAudioPlayer logger] property.

The SDK uses the [AdaptrAudioPlayer logEvent] internally, so this is an interface for apps to receive copies of events that feed.fm tracks internally so they may be passed on to other logging frameworks.

– logEvent: required method

Everything logged here goes back to Feed.fm and is also cc’d to the ‘logger’ property

- (void)logEvent:(nonnull NSString *)event

Parameters

event

Log message

Declared In

AdaptrAudioPlayer.h

– logEvent:withParameters: required method

Everything logged here goes back to Feed.fm and is also cc’d to the ‘logger’ property

- (void)logEvent:(nonnull NSString *)event withParameters:(nonnull NSDictionary *)parameters

Parameters

event

Log message

parameters

Parameters

Declared In

AdaptrAudioPlayer.h