All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.backendless.push.DeviceRegistrationResult Maven / Gradle / Ivy

There is a newer version: 7.0-alpha
Show 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 - 2024 Weber Informatics LLC | Privacy Policy