@Deprecated
    public void registerDeviceWithIdAsync(String deviceId, String deviceName,
                                          RegisterCallback callback) {
        final Device d = new Device.Builder(projectId).id(deviceId).name(deviceName).build();
        registerDeviceAsync(d, callback);
    }
@ Deprecated public void registerDeviceWithIdAsync ( String deviceId , String deviceName , RegisterCallback callback ) { final Device d = new Device . Builder ( projectId ) . id ( deviceId ) . name ( deviceName ) . build ( ) ; registerDeviceAsync ( d , callback ) ; }
Registers a device asynchronously with the provided device ID and name.

See {@link #registerDeviceAsync(Device, RegisterCallback)} for more details.

@param deviceId   Desired device ID.
@param callback   Callback for result of the registration.
@param deviceName Desired device name.
@throws ApiException Thrown if the iobeam client is not initialized.
@deprecated Use {@link #registerDeviceAsync(Device, RegisterCallback)} instead. Will be
removed after 0.6.x