Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
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
You can’t perform that action at this time.