getDeviceType static method

String getDeviceType()

Implementation

static String getDeviceType() {
  return (Device.get().isPhone == true) ? "Mobile" : "Tablet";
}