     
   case Hardware.SIMULATOR:                         return 100.0
   case Hardware.NOT_AVAILABLE:                     return 200.0
-  
-  default:                                         return -1.0
   }
 }
 
-/**
-This method returns the resolution for still image that can be received
-from back camera of the current device. Resolution returned for image oriented landscape right.
-**/
+
+/// This method returns the resolution for still image that can be received
+/// from back camera of the current device. Resolution returned for image oriented landscape right.
+///
+/// - parameters:
+///     - hardware: `Hardware` type of the device
+///
+/// - returns: `CGSize` of the image captured by the device
+///
 public func backCameraStillImageResolutionInPixels(hardware: Hardware) -> CGSize {
   switch (hardware) {
   case Hardware.IPHONE_2G, Hardware.IPHONE_3G:

  return nil
}

/**
This method returns the hardware number not actual but logically.
e.g. if the hardware string is 5,1 then hardware number would be 5.1
*/
public func hardwareNumber(hardware: Hardware) -> CGFloat {
  switch (hardware) {
  case Hardware.IPHONE_2G:                         return 1.1
  case Hardware.IPHONE_3G:                         return 1.2
  case Hardware.IPHONE_3GS:                        return 2.1
  case Hardware.IPHONE_4:                          return 3.1
  case Hardware.IPHONE_4_CDMA:                     return 3.3
  case Hardware.IPHONE_4S:                         return 4.1
  case Hardware.IPHONE_5:                          return 5.1
  case Hardware.IPHONE_5_CDMA_GSM:                 return 5.2
  case Hardware.IPHONE_5C:                         return 5.3
  case Hardware.IPHONE_5C_CDMA_GSM:                return 5.4
  case Hardware.IPHONE_5S:                         return 6.1
  case Hardware.IPHONE_5S_CDMA_GSM:                return 6.2
  case Hardware.IPHONE_6_PLUS:                     return 7.1
  case Hardware.IPHONE_6:                          return 7.2
    
  case Hardware.IPHONE_6S_PLUS:                    return 8.2
  case Hardware.IPHONE_6S:                         return 8.1
    

  case SIMULATOR
}

/// This method retruns the hardware type
///
///
/// - returns: raw `String` of device type
///
public func hardwareString() -> String {
  var name: [Int32] = [CTL_HW, HW_MACHINE]
  var size: Int = 2
