# fromValue static method

TrackingStatus fromValue(

1. int value

)

Creates an enumeration value from int. param value The int value. return The created TrackingStatus.

## Implementation

    static TrackingStatus fromValue(int value) {
        	switch (value) {
          	case 0:
            	return TrackingStatus.none;
          	case 1:
            	return TrackingStatus.initialized;
          	case 2:
            	return TrackingStatus.confirmed;
          	case 3:
            	return TrackingStatus.temporaryLost;
          	case 4:
            	return TrackingStatus.deleted;
        default:
            	throw Exception("Unable to find the specified enum value for $value");
        	}
      	}