2016-05-22 15:10:50 +00:00
|
|
|
// Code generated by "stringer -type=DeviceState"; DO NOT EDIT
|
2015-09-08 04:19:59 +00:00
|
|
|
|
2016-01-15 15:54:27 +00:00
|
|
|
package adb
|
2015-09-08 04:19:59 +00:00
|
|
|
|
|
|
|
import "fmt"
|
|
|
|
|
2016-05-22 06:23:26 +00:00
|
|
|
const _DeviceState_name = "StateInvalidStateDisconnectedStateOfflineStateOnline"
|
2015-09-08 04:19:59 +00:00
|
|
|
|
2016-05-22 06:23:26 +00:00
|
|
|
var _DeviceState_index = [...]uint8{0, 12, 29, 41, 52}
|
2015-09-08 04:19:59 +00:00
|
|
|
|
|
|
|
func (i DeviceState) String() string {
|
2016-05-22 15:10:50 +00:00
|
|
|
if i < 0 || i >= DeviceState(len(_DeviceState_index)-1) {
|
2015-09-08 04:19:59 +00:00
|
|
|
return fmt.Sprintf("DeviceState(%d)", i)
|
|
|
|
}
|
|
|
|
return _DeviceState_name[_DeviceState_index[i]:_DeviceState_index[i+1]]
|
|
|
|
}
|