Java Code Examples for io.particle.android.sdk.cloud.ParticleDevice#ParticleDeviceState

The following examples show how to use io.particle.android.sdk.cloud.ParticleDevice#ParticleDeviceState . You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: DeviceStateChange.java    From particle-android with Apache License 2.0 4 votes vote down vote up
public DeviceStateChange(ParticleDevice device, @NonNull ParticleDevice.ParticleDeviceState state) {
    this.device = device;
    this.state = state;
}
 
Example 2
Source File: DeviceStateChange.java    From particle-android with Apache License 2.0 4 votes vote down vote up
@NonNull
public ParticleDevice.ParticleDeviceState getState() {
    return state;
}
 
Example 3
Source File: DeviceStateChange.java    From spark-sdk-android with Apache License 2.0 4 votes vote down vote up
public DeviceStateChange(ParticleDevice device, @NonNull ParticleDevice.ParticleDeviceState state) {
    this.device = device;
    this.state = state;
}
 
Example 4
Source File: DeviceStateChange.java    From spark-sdk-android with Apache License 2.0 4 votes vote down vote up
@NonNull
public ParticleDevice.ParticleDeviceState getState() {
    return state;
}