| // Copyright 2018 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.wisdom; |
| |
| using fuchsia.intl; |
| |
| /// Interface for a service that, given a |fuchsia.intl.Profile| and some basic parameters, can |
| /// provide pithy strings of wisdom to demonstrate the use of |Profile|. |
| [Discoverable] |
| interface IntlWisdomServer { |
| /// Asks for a wisdom string. |
| /// |
| /// Params: |
| /// intl_profile: Provides the i18n context for the request |
| /// timestamp_ms: Timestamp in milliseconds since the epoch. Used as an input for the wisdom |
| /// text. |
| 1: AskForWisdom(fuchsia.intl.Profile intl_profile, int64 timestamp_ms) -> (string? response); |
| }; |