Class com.gContactSync.Overlay
Defined in: Overlay.js.
Constructor Attributes | Constructor Name and Description |
---|---|
Checks if the authentication token is present and valid.
|
Field Attributes | Field Name and Description |
---|---|
<static> |
com.gContactSync.Overlay.mLastVersionMajor
The last version of gContactSync
|
Method Attributes | Method Name and Description |
---|---|
<static> |
com.gContactSync.Overlay.getStatusBarText()
Gets the text of the status bar.
|
<static> |
com.gContactSync.Overlay.initialize()
Called when the overlay is loaded and initializes everything and begins
the authentication check and sync or login prompt.
|
<static> |
com.gContactSync.Overlay.setStatusBarText(aText)
Sets the text of the status bar to the given value.
|
<static> |
com.gContactSync.Overlay.unload()
Called when the overlay is unloaded and removes the address book listener.
|
<static> |
com.gContactSync.Overlay.writeTimeToStatusBar()
Writes the current time to the status bar along with the sync finished
string.
|
Class Detail
com.gContactSync.Overlay()
Checks if the authentication token is present and valid. If so, it starts
everything up and synchronizes the contacts. Otherwise it shows the
login window.
Field Detail
<static>
com.gContactSync.Overlay.mLastVersionMajor
The last version of gContactSync
Method Detail
<static>
{string}
com.gContactSync.Overlay.getStatusBarText()
Gets the text of the status bar.
- Returns:
- {string} The text of the status bar
<static>
com.gContactSync.Overlay.initialize()
Called when the overlay is loaded and initializes everything and begins
the authentication check and sync or login prompt.
<static>
com.gContactSync.Overlay.setStatusBarText(aText)
Sets the text of the status bar to the given value.
- Parameters:
- aText
- {string} The text to put on the status bar.
<static>
com.gContactSync.Overlay.unload()
Called when the overlay is unloaded and removes the address book listener.
<static>
com.gContactSync.Overlay.writeTimeToStatusBar()
Writes the current time to the status bar along with the sync finished
string.
When the status text is clicked the log file is opened.