Uses of Class
org.bluez.exceptions.BluezCanceledException

Packages that use BluezCanceledException
  • Uses of BluezCanceledException in com.github.hypfvieh.bluetooth.wrapper

    Modifier and Type
    Method
    Description
    void
    AgentHandler.AuthorizeService(org.freedesktop.dbus.DBusPath _device, String _uuid)
     
    void
    AgentHandler.DisplayPinCode(org.freedesktop.dbus.DBusPath _device, String _pincode)
     
    void
    ProfileHandler.NewConnection(org.freedesktop.dbus.DBusPath _device, org.freedesktop.dbus.FileDescriptor _fd, Map<String,org.freedesktop.dbus.types.Variant<?>> _fdProperties)
     
    void
    AgentHandler.RequestAuthorization(org.freedesktop.dbus.DBusPath _device)
     
    void
    AgentHandler.RequestConfirmation(org.freedesktop.dbus.DBusPath _device, org.freedesktop.dbus.types.UInt32 _passkey)
     
    void
    ProfileHandler.RequestDisconnection(org.freedesktop.dbus.DBusPath _device)
     
    org.freedesktop.dbus.types.UInt32
    AgentHandler.RequestPasskey(org.freedesktop.dbus.DBusPath _device)
     
    AgentHandler.RequestPinCode(org.freedesktop.dbus.DBusPath _device)
     
  • Uses of BluezCanceledException in org.bluez

    Methods in org.bluez that throw BluezCanceledException
    Modifier and Type
    Method
    Description
    void
    Agent1.AuthorizeService(org.freedesktop.dbus.DBusPath _device, String _uuid)
    From bluez documentation:

    This method gets called when the service daemon
    needs to authorize a connection/service request.

    void
    Agent1.DisplayPinCode(org.freedesktop.dbus.DBusPath _device, String _pincode)
    From bluez documentation:

    This method gets called when the service daemon
    needs to display a pincode for an authentication.

    An empty reply should be returned.
    void
    Profile1.NewConnection(org.freedesktop.dbus.DBusPath _device, org.freedesktop.dbus.FileDescriptor fd, Map<String,org.freedesktop.dbus.types.Variant<?>> _fd_properties)
    From bluez documentation:

    This method gets called when a new service level
    connection has been made and authorized.

    Common fd_properties:

    uint16 Version Profile version (optional)
    uint16 Features Profile features (optional)

    void
    Agent1.RequestAuthorization(org.freedesktop.dbus.DBusPath _device)
    From bluez documentation:

    This method gets called to request the user to
    authorize an incoming pairing attempt which
    would in other circumstances trigger the just-works
    model, or when the user plugged in a device that
    implements cable pairing.
    void
    Agent1.RequestConfirmation(org.freedesktop.dbus.DBusPath _device, org.freedesktop.dbus.types.UInt32 _passkey)
    From bluez documentation:

    This method gets called when the service daemon
    needs to confirm a passkey for an authentication.

    To confirm the value it should return an empty reply
    or an error in case the passkey is invalid.

    Note that the passkey will always be a 6-digit number,
    so the display should be zero-padded at the start if
    the value contains less than 6 digits.

    void
    Profile1.RequestDisconnection(org.freedesktop.dbus.DBusPath _device)
    From bluez documentation:

    This method gets called when a profile gets
    disconnected.

    The file descriptor is no longer owned by the service
    daemon and the profile implementation needs to take
    care of cleaning up all connections.

    If multiple file descriptors are indicated via
    NewConnection, it is expected that all of them
    are disconnected before returning from this
    method call.

    org.freedesktop.dbus.types.UInt32
    Agent1.RequestPasskey(org.freedesktop.dbus.DBusPath _device)
    From bluez documentation:

    This method gets called when the service daemon
    needs to get the passkey for an authentication.

    The return value should be a numeric value
    between 0-999999.

    Agent1.RequestPinCode(org.freedesktop.dbus.DBusPath _device)
    From bluez documentation:

    This method gets called when the service daemon
    needs to get the passkey for an authentication.

    The return value should be a string of 1-16 characters
    length.
  • Uses of BluezCanceledException in org.bluez.obex

    Modifier and Type
    Method
    Description
    Agent1.AuthorizePush(org.freedesktop.dbus.DBusPath _transfer)
    From bluez documentation:

    This method gets called when the service daemon
    needs to accept/reject a Bluetooth object push request.

    Returns the full path (including the filename) where
    the object shall be stored.