blob: af0f0e6dc0baa8ab58d7f36511d3649b60194583 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
|
package com.smartdevicelink.proxy.rpc.enums;
/**
* Reflects the reported battery status of the connected device, if reported.
* @since SmartDeviceLink 2.0
*/
public enum DeviceLevelStatus {
/**
* Zero level bars
*/
ZERO_LEVEL_BARS,
/**
* One level bars
*/
ONE_LEVEL_BARS,
/**
* Two level bars
*/
TWO_LEVEL_BARS,
/**
* Three level bars
*/
THREE_LEVEL_BARS,
/**
* Four level bars
*/
FOUR_LEVEL_BARS,
/**
* Not provided
*/
NOT_PROVIDED;
/**
* Convert String to DeviceLevelStatus
* @param value String
* @return DeviceLevelStatus
*/
public static DeviceLevelStatus valueForString(String value) {
return valueOf(value);
}
}
|