Function

CFStringTokenizerCopyCurrentTokenAttribute

Returns a given attribute of the current token.

Declaration

CFTypeRef CFStringTokenizerCopyCurrentTokenAttribute(CFStringTokenizerRef tokenizer, CFOptionFlags attribute);

Parameters

tokenizer

A CFStringTokenizer object.

attribute

The token attribute to obtain. The value must be kCFStringTokenizerAttributeLatinTranscription, or kCFStringTokenizerAttributeLanguage.

Return Value

The attribute specified by attribute of the current token, or NULL if the current token does not have the specified attribute or there is no current token. Ownership follows the The Create Rule.

See Also

Getting Information About the Current Token

CFStringTokenizerGetCurrentTokenRange

Returns the range of the current token.

CFStringTokenizerGetCurrentSubTokens

Retrieves the subtokens or derived subtokens contained in the compound token.

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software