AddPackage Method

PocketBrowser 3.x API

The AddPackage Method of the AirBEAMSmart ActiveX Object instructs the AirBEAM Smart client to add the named package to the package list (as many as four can be added).

Syntax Toggle Syntax

AddPackage (Method of the AirBEAMSmart ActiveX Object) Syntax
var bRetVal = object.AddPackage([strPackageName]);

ParametersW Toggle Parameters

Items listed in this section indicate parameters, or attributes which can be set.

Name Possible Values Description
Default Value
strPackageName String The name of the AirBEAM Package to add. N/A

axReturns Toggle Return Values

Name Description
Success Returns true if the package was successfully added or false if it was not

Examples Toggle Examples

The following javascript is example code of how to set the AddPackage method:

var ab = new ActiveXObject("PocketBrowser.AirBEAMSmart");

function doSync()

setTimeout('ab.Run();', 100);
alert('Add Package Failed.  You can only have a maximum of 4 packages');
Copy example to clipboard Copy example to clipboard

Info Toggle Additional Information

Supported Platforms Windows CE, Windows Mobile
Persistence Persists in the AirBEAMSmart Object.
Min. Requirements AirBEAM Client.