Skip to content

Instantly share code, notes, and snippets.

@kajornsakp
Created April 15, 2019 16:28
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kajornsakp/49c35f1e3579903b7b3a9ea309edd914 to your computer and use it in GitHub Desktop.
Save kajornsakp/49c35f1e3579903b7b3a9ea309edd914 to your computer and use it in GitHub Desktop.
FIRIdentifyLanguageCallback
/**
* A block that handles a language identification result.
*
* @param languageCode The identified language code for the text, `FIRMLKitUndeterminedLanguageCode`
* if no language was identified or `nil` if there was an error.
* @param error The error or `nil`.
*/
typedef void (^FIRIdentifyLanguageCallback)(NSString *_Nullable languageCode,
NSError *_Nullable error)
NS_SWIFT_NAME(IdentifyLanguageCallback);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment