Soundlinks-iOS-SDK 2.0.0

Soundlinks-iOS-SDK 2.0.0

TestsTested
LangLanguage Obj-CObjective C
License MIT
ReleasedLast Release Jan 2019

Maintained by Soundlinks.



  • By
  • Soundlinks

Soundlinks-iOS-SDK

Installation

pod 'Soundlinks-iOS-SDK', '~> 1.2.0'

Usage

In a ViewController for recognizing Soundlinks, start like this:

#import "SLRecognizer.h"

@interface ViewController () <SLRecognizerDelegate>

@property (nonatomic, strong) SLRecognizer *recognizer;

@end

@implementation ViewController

- (void)viewDidLoad
{
    [super viewDidLoad];

    self.recognizer = [SLRecognizer recognizerWithDelegate:self];
    [self.recognizer enable];
}

- (void)recognizer:(SLRecognizer *)recognizer content:(NSDictionary *)content
{
    NSLog(@"Received Soundlinks: %@", content);
}

@end

To stop the recognizer:

[self.recognizer disable];

Feedback

Create a issue and we are here to help.