Apple Developer Connection
Member Login Log In | Not a Member? Contact ADC

Next Page > Hide TOC

Application

Technology area
iSync
Availability
Available with iSync 2.3 and later.
Companion guide

Overview

Application objects represent the application that is executing the JavaScript functions. There is only one instance of Application. You access this instance in JavaScript using the application global variable.

Properties

name

The name of the application running the script—for example, iSync Plug-in Maker or iSync.

Available with iSync 2.3 and later.

version

The version of the PhoneConduit bundle inside iSync.

Available with iSync 2.3 and later.

isISync

A Boolean value set to true if the application is iSync; otherwise, false (typically when the application is iSync Plug-in Maker).

Available with iSync 2.3 and later.

Tasks

Logging Messages

Methods

log

Prints a string to the iSync Plug-in Maker log window.

log(string)

Parameters
string

The string to print to the log.

Discussion

The string appears in the iSync Plug-in Maker log window when the JavaScript function is executed during a test. When the JavaScript function is executed by iSync, this method does nothing if the device plug-in is exported and installed.

Availability


Next Page > Hide TOC


Last updated: 2007-07-11




Did this document help you?
Yes: Tell us what works for you.

It’s good, but: Report typos, inaccuracies, and so forth.

It wasn’t helpful: Tell us what would have helped.
Get information on Apple products.
Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Copyright © 2007 Apple Inc.
All rights reserved. | Terms of use | Privacy Notice