All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.bluez.ProfileManager1 Maven / Gradle / Ivy

There is a newer version: 0.3.0
Show newest version
package org.bluez;

import java.util.Map;

import org.bluez.exceptions.BluezAlreadyExistsException;
import org.bluez.exceptions.BluezDoesNotExistException;
import org.bluez.exceptions.BluezInvalidArgumentsException;
import org.freedesktop.dbus.DBusPath;
import org.freedesktop.dbus.interfaces.DBusInterface;
import org.freedesktop.dbus.types.Variant;

/**
 * File generated - 2018-07-25.
* Based on bluez Documentation: profile-api.txt.
*
* Service: org.bluez
* Interface: org.bluez.ProfileManager1
*
* Object path:
* /org/bluez
*
*/ public interface ProfileManager1 extends DBusInterface { /** * From bluez documentation:
*
* This registers a profile implementation.
*
* If an application disconnects from the bus all
* its registered profiles will be removed.
*
* HFP HS UUID: 0000111e-0000-1000-8000-00805f9b34fb
*
* Default RFCOMM channel is 6. And this requires
* authentication.
*
* Available options:
*
* string Name
*
* Human readable name for the profile
*
* string Service
*
* The primary service class UUID
* (if different from the actual
* profile UUID)
*
* string Role
*
* For asymmetric profiles that do not
* have UUIDs available to uniquely
* identify each side this
* parameter allows specifying the
* precise local role.
*
* Possible values: "client", "server"
*
* uint16 Channel
*
* RFCOMM channel number that is used
* for client and server UUIDs.
*
* If applicable it will be used in the
* SDP record as well.
*
* uint16 PSM
*
* PSM number that is used for client
* and server UUIDs.
*
* If applicable it will be used in the
* SDP record as well.
*
* boolean RequireAuthentication
*
* Pairing is required before connections
* will be established. No devices will
* be connected if not paired.
*
* boolean RequireAuthorization
*
* Request authorization before any
* connection will be established.
*
* boolean AutoConnect
*
* In case of a client UUID this will
* force connection of the RFCOMM or
* L2CAP channels when a remote device
* is connected.
*
* string ServiceRecord
*
* Provide a manual SDP record.
*
* uint16 Version
*
* Profile version (for SDP record)
*
* uint16 Features
*
* Profile features (for SDP record)
*
* * @param _profile * @param _uuid * @param _options * * @throws BluezInvalidArgumentsException when argument is invalid * @throws BluezAlreadyExistsException when item already exists */ void RegisterProfile(DBusPath _profile, String _uuid, Map> _options) throws BluezInvalidArgumentsException, BluezAlreadyExistsException; /** * From bluez documentation:
*
* This unregisters the profile that has been previously
* registered. The object path parameter must match the
* same value that has been used on registration.
*
* * @param _profile * * @throws BluezDoesNotExistException when item does not exist */ void UnregisterProfile(DBusPath _profile) throws BluezDoesNotExistException; }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy