Interface nsIJumpListLinkType

A URI link jump list item.

Note the application must be the registered protocol handler for the protocol of the link.

Hierarchy

Properties

type: number

Retrieves the jump list item type.

uri: nsIURI

Set or get the uri for this link item.

uriHash: string

Get a 'privacy safe' unique string hash of the uri's spec. Useful in tracking removed items using visible data stores such as prefs. Generates an MD5 hash of the URI spec using nsICryptoHash.

uriTitle: string

Set or get the title for a link item.

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

  • Compare this item's hash to another uri.

    Generates a spec hash of the incoming uri and compares it to this item's uri spec hash.

    Parameters

    • uri: nsIURI

    Returns boolean

  • Compare this item to another.

    Compares the type and other properties specific to this item's type.

    separator: type link: type, uri, title shortcut: type, handler app

    Parameters

    • item: nsIJumpListItem

    Returns boolean

Generated using TypeDoc