com.lhings.java.annotations.DeviceInfo Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of lhings-java Show documentation
Show all versions of lhings-java Show documentation
Java library for device connectivity with Lhings. Lhings is a cloud platform that allows you to retrieve information from your devices and remotely control them in a very easy way. Learn more at http://support.lhings.com.
The newest version!
/* Copyright 2014 Lyncos Technologies S. L.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.lhings.java.annotations;
import java.lang.annotation.Documented;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
/**
* This annotation is used to provide generic meta information about
* the device, like its manufacturer, model, serial number, and type of
* device. The type of device is a special field, because depending on
* its value a different icon is shown in Lhings for the device. Currently
* the Lhings changes its default device icon for a customized one for the
* following device types:
*
* flyport
: for OpenPicus Flyport devices.
* raspberrypi
: for Raspberry Pi devices.
* javavirtualdevice
: for Java based devices.
* arduino
: for Arduino devices.
* android
: for Android devices.
* waspmote
: for Libelium Waspmote devices.
* pluglhings
: our PlugLhings mobile app (Android and iOS).
* TSmoTe
: for TSmoTe devices.
* TSgaTe
: for TSgaTe devices.
*
*
* If you want the icon of your device added to this list, do not hesitate
* to contact us.
*
*/
@Retention(RetentionPolicy.RUNTIME)
@Target({ElementType.TYPE})
@Documented
public @interface DeviceInfo {
String manufacturer() default "";
String modelName() default "";
String serialNumber() default "";
String deviceType() default "";
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy