public ObjectPath CreatePlaylistProvider(int id) { if (activity == null || !permission_granted) { return(new ObjectPath("")); } PlaylistProvider provider = new PlaylistProvider(activity, id); activity.RegisterDBusObject(provider, provider.ObjectPath); return(new ObjectPath(provider.ObjectPath)); }
public ObjectPath CreatePlaylistProvider (int id) { if (activity == null || !permission_granted) { return new ObjectPath (""); } PlaylistProvider provider = new PlaylistProvider (activity, id); activity.RegisterDBusObject (provider, provider.ObjectPath); return new ObjectPath (provider.ObjectPath); }