retryPolicy abstract method

DeviceInformationChange retryPolicy(
  1. RetryPolicy retryPolicy
)

Specifies the retry policy to be used.

For some errors (such as networking errors) retrying is meaningful, this parameter specifies the retry policy to be followed if one of these errors occurs.

If no retry policy is provided NoRetryPolicy will be used.

Params:

  • retryPolicy: the retry policy.

Returns: a DeviceInformationChange object.

Implementation

DeviceInformationChange retryPolicy(RetryPolicy retryPolicy);