Repository: cordova-plugin-device Updated Branches: refs/heads/master 86de36afc -> 8846ac877
Property manufacturer documented Project: http://git-wip-us.apache.org/repos/asf/cordova-plugin-device/repo Commit: http://git-wip-us.apache.org/repos/asf/cordova-plugin-device/commit/a1a025f5 Tree: http://git-wip-us.apache.org/repos/asf/cordova-plugin-device/tree/a1a025f5 Diff: http://git-wip-us.apache.org/repos/asf/cordova-plugin-device/diff/a1a025f5 Branch: refs/heads/master Commit: a1a025f5909f29d484f6b7996f29594761189310 Parents: 715ee7e Author: Ritzlgrmft <[email protected]> Authored: Tue Dec 1 13:47:21 2015 +0100 Committer: Ritzlgrmft <[email protected]> Committed: Tue Dec 1 13:47:21 2015 +0100 ---------------------------------------------------------------------- README.md | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/cordova-plugin-device/blob/a1a025f5/README.md ---------------------------------------------------------------------- diff --git a/README.md b/README.md index 677a7d1..ec41cf4 100644 --- a/README.md +++ b/README.md @@ -41,6 +41,7 @@ Although the object is in the global scope, it is not available until after the - device.platform - device.uuid - device.version +- device.manufacturer - device.isVirtual - device.serial @@ -218,6 +219,28 @@ Get the operating system version. // Tizen: returns "TIZEN_20120425_2" var deviceVersion = device.version; +## device.manufacturer + +Get the device's manufacturer. + + var string = device.manufacturer; + +### Supported Platforms + +- Android +- BlackBerry 10 +- iOS +- Windows Phone 7 and 8 +- Windows 8 + +### Quick Example + + // Android: Motorola XT1032 would return "motorola" + // BlackBerry: returns "BlackBerry" + // iPhone: returns "Apple" + // + var deviceManufacturer = device.manufacturer; + ## device.isVirtual whether the device is running on a simulator. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
