@Test public void testGetQosAtMostOnce() { TelemetryEvent event = new TelemetryEvent(new byte[1], null, TelemetryEvent.QOS_AT_MOST_ONCE); assertThat(event.getQos()).isEqualTo(TelemetryEvent.QOS_AT_MOST_ONCE); }
public @Qos int getQos() { return mQos; }
TelemetryEvent { public @Qos int getQos() { return mQos; } }
TelemetryEvent { public @Qos int getQos() { return mQos; } TelemetryEvent(@NonNull byte[] data, @Nullable String topicSubpath, @Qos int qos); }
TelemetryEvent { public @Qos int getQos() { return mQos; } TelemetryEvent(@NonNull byte[] data, @Nullable String topicSubpath, @Qos int qos); byte[] getData(); String getTopicSubpath(); @Qos int getQos(); }
TelemetryEvent { public @Qos int getQos() { return mQos; } TelemetryEvent(@NonNull byte[] data, @Nullable String topicSubpath, @Qos int qos); byte[] getData(); String getTopicSubpath(); @Qos int getQos(); static final int QOS_AT_MOST_ONCE; static final int QOS_AT_LEAST_ONCE; }