Interface IAddDeviceCallback

All Known Subinterfaces:
IAddDeviceWithErrorCallback, IDeviceStatusWithAddResultCallback

public interface IAddDeviceCallback
Callback to notify that add operation was finished
  • Method Details

    • onSuccess

      void onSuccess(IDeviceDescription source)
      Add operation completed successfully
      Parameters:
      source - added device
    • onFailure

      void onFailure(IDeviceDescription source, OperationStatus status, String additionalStatusDescription)
      Add operation failed
      Parameters:
      source - device
      status - operation status code
      additionalStatusDescription - may be empty string