Interface nsIXULAppInfoType

A scriptable interface to the nsXULAppAPI structure. See nsXULAppAPI.h for a detailed description of each attribute.

Hierarchy

Properties

ID: string

See

XREAppData.ID

Returns

an empty string if XREAppData.ID is not set.

UAName: string

See

XREAppData.UAName

Returns

an empty string if XREAppData.UAName is not set.

appBuildID: string

The build ID/date of the application. For xulrunner applications, this will be different than the build ID of the platform. Be careful about which one you want.

name: string

See

XREAppData.name

platformBuildID: string

The build ID/date of gecko and the XULRunner platform.

platformVersion: string

The version of the XULRunner platform.

sourceURL: string

See

XREAppData.sourceURL

Returns

an empty string if XREAppData.sourceURL is not set.

updateURL: string

See

XREAppData.updateURL

vendor: string

See

XREAppData.vendor

Returns

an empty string if XREAppData.vendor is not set.

version: string

The version of the XUL application. It is different than the version of the XULRunner platform. Be careful about which one you want.

See

XREAppData.version

Returns

an empty string if XREAppData.version is not set.

Methods

  • Increases the reference count for this interface. The associated instance will not be deleted unless the reference count is returned to zero.

    Returns

    The resulting reference count.

    Returns number

  • Parameters

    • aIID: object
    • Optional aInstancePtr: object

    Returns any

  • A run time mechanism for interface discovery.

    Returns

    NS_OK if the interface is supported by the associated instance, NS_NOINTERFACE if it is not.

    aInstancePtr must not be null.

    Parameters

    • aIID: object

      [in] A requested interface IID

    • aInstancePtr: object

      [out] A pointer to an interface pointer to receive the result.

    Returns void

  • Decreases the reference count for this interface. Generally, if the reference count returns to zero, the associated instance is deleted.

    Returns

    The resulting reference count.

    Returns number

Generated using TypeDoc