Device.getDeviceManufacturer()

Overview

Gets the device's manufacturer.

Added in version 2.0.0

Format

var manufacturer= Device.getDeviceManufacturer();

Parameter Description Type Required Notes
manufacturer A string containing the device's manufacturer. String Return value May return undefined or null if unable to determine value.

Example

Copy
/* Display a toast message of the device's manufacturer.
*/
var manufacturer = Device.getDeviceManufacturer();
if(manufacturer) {
    View.toast('Manufacturer: ' + manufacturer, true);
}