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

com.arm.mbed.cloud.sdk.connect.subscription.NotificationValue Maven / Gradle / Ivy

Go to download

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.

There is a newer version: 2.5.0
Show newest version
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);
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy