Skip to content

Instantly share code, notes, and snippets.

@kajornsakp
Created April 15, 2019 16:38
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/4007316d4529809159fb81c0448d0b36 to your computer and use it in GitHub Desktop.
Save kajornsakp/4007316d4529809159fb81c0448d0b36 to your computer and use it in GitHub Desktop.
/** An identified language for the given input text. */
NS_SWIFT_NAME(IdentifiedLanguage)
@interface FIRIdentifiedLanguage : NSObject
/** The BCP-47 language code for the language. */
@property(nonatomic, readonly, copy) NSString *languageCode;
/** The confidence score of the language. */
@property(nonatomic, readonly) float confidence;
/** Unavailable. */
- (instancetype)init NS_UNAVAILABLE;
@end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment