|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
Object | +--Garmin.Device
Garmin.Device
Defined in GarminDevice.js
| Constructor Summary | |
Garmin.Device(<String> displayName, <Number> number)
A place-holder for Garmin device information. |
|
| Method Summary | |
String
|
__Garmin.Device.getDisplayName()
The display name of this device. |
void
|
addDeviceDataType(dataType)
Adds a data type to the list of data types supported by this device |
String
|
getDescription()
A description of the device |
Garmin.DeviceDataType
|
getDeviceDataType(extension)
Returns a specific DeviceDataType object |
Hash
|
getDeviceDataTypes()
Returns a hash containing all DeviceDataType objects |
String
|
getDisplayName()
The display name of this device. |
String
|
getId()
The device id |
Number
|
getNumber()
The device number that the plug-in uses to identify this device |
String
|
getPartNumber()
The part number of the device |
String
|
getSoftwareVersion()
The software version currently on the device |
void
|
initialize(displayName, number)
|
void
|
setDescription(description)
Set description of the device |
void
|
setId(id)
set device id |
void
|
setPartNumber(partNumber)
Set part number of device |
void
|
setSoftwareVersion(softwareVersion)
Software version installed on device |
Boolean
|
supportDeviceDataTypeRead(extension)
Returns true if the device has read support for the file type |
Boolean
|
supportDeviceDataTypeWrite(extension)
Check if device has write support for the file type. |
Object
|
toString()
|
| Constructor Detail |
Garmin.Device(<String> displayName, <Number> number)
displayName - for the device
number - of the model
| Method Detail |
String __Garmin.Device.getDisplayName()
void addDeviceDataType(dataType)
dataType - A DeviceDataType object containing information about the data type being added
String getDescription()
Garmin.DeviceDataType getDeviceDataType(extension)
extension - The file extension of the data type you are trying to get
Hash getDeviceDataTypes()
String getDisplayName()
String getId()
Number getNumber()
String getPartNumber()
String getSoftwareVersion()
void initialize(displayName, number)
void setDescription(description)
device - description
void setId(id)
device - id
void setPartNumber(partNumber)
part - number
void setSoftwareVersion(softwareVersion)
Garmin - .Device
Boolean supportDeviceDataTypeRead(extension)
The - extension of the file type you are checking for support
Boolean supportDeviceDataTypeWrite(extension)
extension - The extension of the file type you are checking for support
Object toString()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||