com.backendless.push.DeviceRegistrationResult Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of java-sdk-common Show documentation
Show all versions of java-sdk-common Show documentation
Provides access to Backendless API
The newest version!
package com.backendless.push;
import java.util.Map;
public class DeviceRegistrationResult
{
private String deviceToken;
private Map channelRegistrations;
/**
* @return The device token that device receives after registration on Google FCM.
*/
public String getDeviceToken()
{
return deviceToken;
}
/**
* @return The map, where key is a channel name and value is a device registration id (table DeviceRegistrations).
* It is received after successful registration on Backendless server.
*/
public Map getChannelRegistrations()
{
return channelRegistrations;
}
DeviceRegistrationResult setDeviceToken( String deviceToken )
{
this.deviceToken = deviceToken;
return this;
}
DeviceRegistrationResult setChannelRegistrations( Map channelRegistrations )
{
this.channelRegistrations = channelRegistrations;
return this;
}
@Override
public String toString()
{
return "DeviceRegistrationResult{" + "deviceToken='" + deviceToken + '\'' + ", channelRegistrations=" + channelRegistrations + '}';
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy