value property
int
get
value
Implementation
int get value {
switch (this) {
case UsbPlugInfoEnum.attached:
return 1;
case UsbPlugInfoEnum.detached:
return 0;
case UsbPlugInfoEnum.granted:
return 2;
}
}