com.arm.mbed.cloud.sdk.connect.subscription.NotificationValue Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of mbed-cloud-sdk Show documentation
Show all versions of mbed-cloud-sdk Show documentation
The Pelion Cloud SDK (formerly known as Mbed Cloud SDK) provides a simplified interface to the Pelion Cloud APIs by exposing functionality using conventions and paradigms familiar to Java developers.
package com.arm.mbed.cloud.sdk.connect.subscription;
import com.arm.mbed.cloud.sdk.subscribe.NotificationMessageValue;
public class NotificationValue implements NotificationMessageValue {
/**
* Serialisation id.
*/
private static final long serialVersionUID = 7698726162618796273L;
private final Object value;
public NotificationValue(Object value) {
super();
this.value = value;
}
/**
* Gets raw value.
*
* @return the value
*/
@Override
public Object getRawValue() {
return value;
}
@Override
public NotificationMessageValue clone() {
return new NotificationValue(value);
}
}