Created
April 15, 2019 16:28
-
-
Save kajornsakp/49c35f1e3579903b7b3a9ea309edd914 to your computer and use it in GitHub Desktop.
FIRIdentifyLanguageCallback
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* 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