Skip to content
This repository has been archived by the owner on Aug 22, 2018. It is now read-only.

Commit

Permalink
Update objc example
Browse files Browse the repository at this point in the history
  • Loading branch information
nacho4d committed Sep 3, 2016
1 parent b57a28b commit 18249e6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion watsonsdktest-objective-c/STTViewController.m
Expand Up @@ -47,7 +47,7 @@ - (void)viewDidLoad
[confSTT setAudioCodec:WATSONSDK_AUDIO_CODEC_TYPE_OPUS];
[confSTT setModelName:WATSONSDK_DEFAULT_STT_MODEL];
[confSTT setXWatsonLearningOptOut:NO]; // Change to YES to opt-out learning
[confSTT setAdditionalParameters:@{@"smart_formatting": @(YES)}];
[confSTT setSmartFormatting:YES];

// [conf setTokenGenerator:^(void (^tokenHandler)(NSString *token)){
// NSURL *url = [[NSURL alloc] initWithString:@"https://<token-factory-url>"];
Expand Down

0 comments on commit 18249e6

Please sign in to comment.