blob: 4111f3f9979d337e5dc723f39b0fbf7609a781bb [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.ui.policy;
/// Service for exposing state and events of devices, such as media buttons.
[Discoverable]
protocol DeviceListenerRegistry {
/// Registers a listener to receive media button related events, such as
/// changes from volume buttons and mute switches.
RegisterMediaButtonsListener(MediaButtonsListener listener);
};