/** * @deprecated As of release 1.0.0, replaced by {@link #deleteDeviceRegistrationState(DeviceRegistrationState)} ()} * @param deviceRegistrationState the {@link DeviceRegistrationState} that identifies the deviceRegistrationState. It cannot be {@code null}. * @throws ProvisioningServiceClientException if the Provisioning Device Service was not able to delete the * registration status information for the provided DeviceRegistrationState. */ @Deprecated public void deleteDeviceRegistrationStatus(DeviceRegistrationState deviceRegistrationState) throws ProvisioningServiceClientException { /* SRS_PROVISIONING_SERVICE_CLIENT_21_024: [The deleteDeviceRegistrationStatus shall delete the deviceRegistrationState for the provided DeviceRegistrationState by calling the delete in the registrationStatusManager.] */ registrationStatusManager.delete(deviceRegistrationState); }
/** * @deprecated As of release 1.0.0, replaced by {@link #deleteDeviceRegistrationState(String)} ()} * @param id the {@code String} that identifies the deviceRegistrationState. It cannot be {@code null} or empty. * @throws ProvisioningServiceClientException if the Provisioning Device Service was not able to delete the * deviceRegistrationState information for the provided registrationId. */ @Deprecated public void deleteDeviceRegistrationStatus(String id) throws ProvisioningServiceClientException { /* SRS_PROVISIONING_SERVICE_CLIENT_21_025: [The deleteDeviceRegistrationStatus shall delete the deviceRegistrationState for the provided id by calling the delete in the registrationStatusManager.] */ registrationStatusManager.delete(id, null); }
/** * @deprecated As of release 1.0.0, replaced by {@link #deleteDeviceRegistrationState(String, String)} ()} * @param id the {@code String} that identifies the deviceRegistrationState. It cannot be {@code null} or empty. * @param eTag the {@code String} with the deviceRegistrationState eTag. It can be {@code null} or empty. * The Device Provisioning Service will ignore it in all of these cases. * @throws ProvisioningServiceClientException if the Provisioning Device Service was not able to delete the * deviceRegistrationState information for the provided registrationId and eTag. */ @Deprecated public void deleteDeviceRegistrationStatus(String id, String eTag) throws ProvisioningServiceClientException { /* SRS_PROVISIONING_SERVICE_CLIENT_21_026: [The deleteDeviceRegistrationStatus shall delete the deviceRegistrationState for the provided id and eTag by calling the delete in the registrationStatusManager.] */ registrationStatusManager.delete(id, eTag); }
registrationStatusManager.delete(deviceRegistrationState);
registrationStatusManager.delete(id, null);
registrationStatusManager.delete(id, eTag);