blob: 1efeb9b3a1c6a65f1fb6a4c9bae9cfceb66f2cc6 [file] [log] [blame]
// Copyright 2019 The Fuchsia Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
library fuchsia.examples.intl.manager;
using fuchsia.intl;
/// For toy examples, defines the setter counterpart to the getter in
/// `fuchsia.intl.PropertyProvider`, allowing the internationalization `Profile` to be set via FIDL,
/// and hence passed on to additional recipients.
///
/// Note that in production scenarios, a `fuchsia.intl.PropertyProvider` would like be reading the
/// user's internationalization preferences from a preferences service and generating a `Profile`,
/// rather than allowing a `Profile` to be set directly.
[Discoverable]
protocol PropertyManager {
/// Set the internationalization profile that is served by this provider.
SetProfile(fuchsia.intl.Profile intl_profile) -> ();
};