class Profile
Defined at line 299 of file fidling/gen/sdk/fidl/fuchsia.intl/fuchsia.intl/cpp/fidl/fuchsia.intl/cpp/wire_types.h
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`.
Public Methods
bool IsEmpty ()
Returns whether no field is set.
bool HasUnknownData ()
Returns whether the table references unknown fields.
::fidl::WireTableBuilder< ::fuchsia_intl::wire::Profile> Builder (::fidl::AnyArena & arena)
Return a builder that by defaults allocates of an arena.
::fidl::WireTableExternalBuilder< ::fuchsia_intl::wire::Profile> ExternalBuilder (::fidl::ObjectView< ::fidl::WireTableFrame< ::fuchsia_intl::wire::Profile>> frame)
Return a builder that relies on explicitly allocating |fidl::ObjectView|s.
void Profile ()
Defined at line 301 of file fidling/gen/sdk/fidl/fuchsia.intl/fuchsia.intl/cpp/fidl/fuchsia.intl/cpp/wire_types.h
void Profile (const Profile & other)
Defined at line 302 of file fidling/gen/sdk/fidl/fuchsia.intl/fuchsia.intl/cpp/fidl/fuchsia.intl/cpp/wire_types.h
Profile & operator= (const Profile & other)
Defined at line 303 of file fidling/gen/sdk/fidl/fuchsia.intl/fuchsia.intl/cpp/fidl/fuchsia.intl/cpp/wire_types.h
void Profile (Profile && other)
Defined at line 304 of file fidling/gen/sdk/fidl/fuchsia.intl/fuchsia.intl/cpp/fidl/fuchsia.intl/cpp/wire_types.h
::fidl::VectorView< ::fuchsia_intl::wire::LocaleId> & locales ()
Ranked list of locales (in descending order of preference). The vector will always
be set, and always contain at least one element. For example,
locales = [ LocaleId("en-US") ] is valid, but locales = [], or locales =
<unset
> is not.
bool has_locales ()
::fidl::VectorView< ::fuchsia_intl::wire::CalendarId> & calendars ()
Ranked list of calendars (in descending order of preference).
The first entry is the primary calendar, and will be equal to the calendar indicated
in `locales`.
The vector will always be set, and always contain at least one element.
The list allows multiple ranked preferences, and is intended for use
by applications that can display multiple calendar systems.
bool has_calendars ()
Profile & operator= (Profile && other)
Defined at line 305 of file fidling/gen/sdk/fidl/fuchsia.intl/fuchsia.intl/cpp/fidl/fuchsia.intl/cpp/wire_types.h
::fidl::VectorView< ::fuchsia_intl::wire::TimeZoneId> & time_zones ()
Ranked list of time zones (in descending order). The first entry is the primary time zone,
which should be used by default for formatting dates and times; it will be equal to the
calendar indicated in `locales`.
The list is intended for use by applications that can display multiple time zones, e.g.
a world clock.
The vector will always be set, and always contain at least one element.
On Fuchsia, the default time zone is always `DEFAULT_TIME_ZONE_ID` when
no more specific time zones have been defined or selected.
bool has_time_zones ()
::fuchsia_intl::wire::TemperatureUnit & temperature_unit ()
Selected temperature unit. The unit is always reported: if there is no
setting in the current environment, the default value of CELSIUS is
used.
bool has_temperature_unit ()
void ~Profile ()
Defined at line 307 of file fidling/gen/sdk/fidl/fuchsia.intl/fuchsia.intl/cpp/fidl/fuchsia.intl/cpp/wire_types.h
Friends
class WireTableBaseBuilder
class WireTableBaseBuilder