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