Repositorio del curso CCOM4030 el semestre B91 del proyecto Artesanías con el Instituto de Cultura

index.d.ts 1.4KB

1234567891011121314151617181920212223242526272829303132333435
  1. // Type definitions for cordova-plugin-device 2.0
  2. // Project: https://github.com/apache/cordova-plugin-device
  3. // Definitions by: Microsoft Open Technologies Inc <http://msopentech.com>
  4. // Tim Brust <https://github.com/timbru31>
  5. // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
  6. /**
  7. * This plugin defines a global device object, which describes the device's hardware and software.
  8. * Although the object is in the global scope, it is not available until after the deviceready event.
  9. */
  10. interface Device {
  11. /** Get the version of Cordova running on the device. */
  12. cordova: string;
  13. /** Indicates that Cordova initialize successfully. */
  14. available: boolean;
  15. /**
  16. * The device.model returns the name of the device's model or product. The value is set
  17. * by the device manufacturer and may be different across versions of the same product.
  18. */
  19. model: string;
  20. /** Get the device's operating system name. */
  21. platform: string;
  22. /** Get the device's Universally Unique Identifier (UUID). */
  23. uuid: string;
  24. /** Get the operating system version. */
  25. version: string;
  26. /** Get the device's manufacturer. */
  27. manufacturer: string;
  28. /** Whether the device is running on a simulator. */
  29. isVirtual: boolean;
  30. /** Get the device hardware serial number. */
  31. serial: string;
  32. }
  33. declare var device: Device;