onSuccess abstract method

DeviceInformationChange onSuccess(
  1. Function onSuccess
)

Specifies the object that will be invoked if the device information for the user was updated successfully.

IMPORTANT
Providing the onSuccess is required.

Params:

  • onSuccess: the Function which is invoked on successful update.

Returns: a DeviceInformationChange object.

Implementation

DeviceInformationChange onSuccess(Function onSuccess);