Project: /_project.yaml Book: /_book.yaml

fuchsia.intl

PROTOCOLS

PropertyProvider {:#PropertyProvider}

Defined in fuchsia.intl/property_provider.fidl

Provides internationalization properties.

Components that need to change their behavior in response to the user's internationalization profile may request an instance of this service from their namespace, if available. A component may choose to pass along the service that it received from its parent to its own children, or to override it and apply additional customizations.

See also fuchsia.ui.views.View.

GetProfile {:#GetProfile}

Gets the user's internationalization profile.

Request

Response

OnChange {:#OnChange}

Indicates that the properties may have changed and the client should query them again.

Response

PropertyProvider {:#PropertyProvider}

Defined in fuchsia.intl/property_provider.fidl

Provides internationalization properties.

Components that need to change their behavior in response to the user's internationalization profile may request an instance of this service from their namespace, if available. A component may choose to pass along the service that it received from its parent to its own children, or to override it and apply additional customizations.

See also fuchsia.ui.views.View.

GetProfile {:#GetProfile}

Gets the user's internationalization profile.

Request

Response

OnChange {:#OnChange}

Indicates that the properties may have changed and the client should query them again.

Response

STRUCTS

LocaleId {:#LocaleId}

Defined in fuchsia.intl/intl.fidl

Typed identifier for a single Locale, which is a set of internationalization-related properties.

Most APIs that consume locales will probably want to accept a vector of locales to account for priority.

Must be canonicalized and well-formed. This field should not be populated from arbitrary user- or third-party input, but instead generated programmatically.

Includes language, region, script, and variant, plus Unicode extensions (under the “u” singleton). Other extensions are allowed but ignored.

Examples: “en-US” American English “fr-u-hc-h12” French, with 12-hour clock “ar-EG-u-fw-mon-nu-latn” Egyptian Arabic with “Latin” numerals and first day of week on Monday

CalendarId {:#CalendarId}

Defined in fuchsia.intl/intl.fidl

Typed identifier for a single calendar system. Currently consists only of a calendar ID.

Examples: “und-u-ca-gregory” “und-u-ca-islamic”

TimeZoneId {:#TimeZoneId}

Defined in fuchsia.intl/intl.fidl

Typed identifier for a time zone.

LocaleId {:#LocaleId}

Defined in fuchsia.intl/intl.fidl

Typed identifier for a single Locale, which is a set of internationalization-related properties.

Most APIs that consume locales will probably want to accept a vector of locales to account for priority.

Must be canonicalized and well-formed. This field should not be populated from arbitrary user- or third-party input, but instead generated programmatically.

Includes language, region, script, and variant, plus Unicode extensions (under the “u” singleton). Other extensions are allowed but ignored.

Examples: “en-US” American English “fr-u-hc-h12” French, with 12-hour clock “ar-EG-u-fw-mon-nu-latn” Egyptian Arabic with “Latin” numerals and first day of week on Monday

CalendarId {:#CalendarId}

Defined in fuchsia.intl/intl.fidl

Typed identifier for a single calendar system. Currently consists only of a calendar ID.

Examples: “und-u-ca-gregory” “und-u-ca-islamic”

TimeZoneId {:#TimeZoneId}

Defined in fuchsia.intl/intl.fidl

Typed identifier for a time zone.

ENUMS

TemperatureUnit {:#TemperatureUnit}

Type: uint32

Defined in fuchsia.intl/intl.fidl

Selection of temperature unit.

TemperatureUnit {:#TemperatureUnit}

Type: uint32

Defined in fuchsia.intl/intl.fidl

Selection of temperature unit.

TABLES

RegulatoryDomain {:#RegulatoryDomain}

Defined in fuchsia.intl/intl.fidl

Typed identifier for a regulatory domain as specified in the IEEE 802.11 standard.

Profile {:#Profile}

Defined in fuchsia.intl/intl.fidl

A collection of ranked internationalization properties.

There is no implied origin for this information; it might come from a user account, device settings, a synthesis of user settings and app-specific overrides, or anywhere else.

Language-independent properties that are supported by Unicode BCP-47 Locale IDs (e.g. first-day-of-week, time zone) are denormalized into the locale IDs in locales.

RegulatoryDomain {:#RegulatoryDomain}

Defined in fuchsia.intl/intl.fidl

Typed identifier for a regulatory domain as specified in the IEEE 802.11 standard.

Profile {:#Profile}

Defined in fuchsia.intl/intl.fidl

A collection of ranked internationalization properties.

There is no implied origin for this information; it might come from a user account, device settings, a synthesis of user settings and app-specific overrides, or anywhere else.

Language-independent properties that are supported by Unicode BCP-47 Locale IDs (e.g. first-day-of-week, time zone) are denormalized into the locale IDs in locales.