Device プラグイン
document.addEventListener("deviceready", onDeviceReady, false);
function onDeviceReady() {
console.log(device.cordova);
}プラグイン ID
cordova-plugin-deviceプラグインの追加方法
プロパティ
device.cordova
対象プラットフォーム
device.model
対象プラットフォーム
Example
Android 特有の動作
device.platform
対象プラットフォーム
Example
device.uuid
解説
対象プラットフォーム
Example
iOS 特有の動作
device.version
対象プラットフォーム
Example
device.manufacturer
対象プラットフォーム
Example
device.isVirtual
対象プラットフォーム
device.serial
対象プラットフォーム
最終更新