com.worklight.wlclient.api
Interface DeviceDisplayNameListener
-
public interface DeviceDisplayNameListener
This interface defines methods that the listener for theWLClient.getDeviceDisplayName(DeviceDisplayNameListener)
method implements to receive device display name from server
-
-
Method Summary
Methods Modifier and Type Method and Description void
onFailure(WLFailResponse response)
Called whenWLClient.getDeviceDisplayName
fails.void
onSuccess(java.lang.String deviceDisplayName)
Called whenWLClient.getDeviceDisplayName
completes successfully.
-
-
-
Method Detail
-
onSuccess
void onSuccess(java.lang.String deviceDisplayName)
Called whenWLClient.getDeviceDisplayName
completes successfully.- Parameters:
device
- display name received from server registration data .
-
onFailure
void onFailure(WLFailResponse response)
Called whenWLClient.getDeviceDisplayName
fails.- Parameters:
response
- Response containing error information.
-
-