use std::collections::HashMap;
use zbus::{
proxy,
zvariant::{ObjectPath, Value},
};
#[proxy(interface = "org.bluez.Media1", default_service = "org.bluez")]
pub trait Media {
fn register_application(
&self,
application: &ObjectPath<'_>,
options: HashMap<&str, &Value<'_>>,
) -> zbus::Result<()>;
fn register_endpoint(
&self,
endpoint: &ObjectPath<'_>,
properties: HashMap<&str, &Value<'_>>,
) -> zbus::Result<()>;
fn register_player(
&self,
player: &ObjectPath<'_>,
properties: HashMap<&str, &Value<'_>>,
) -> zbus::Result<()>;
fn unregister_application(&self, application: &ObjectPath<'_>) -> zbus::Result<()>;
fn unregister_endpoint(&self, endpoint: &ObjectPath<'_>) -> zbus::Result<()>;
fn unregister_player(&self, player: &ObjectPath<'_>) -> zbus::Result<()>;
#[zbus(property, name = "SupportedUUIDs")]
fn supported_uuids(&self) -> zbus::Result<Vec<String>>;
}