Interface mozIGeckoMediaPluginChromeServiceType

Hierarchy

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

  • Add a directory to scan for gecko media plugins.

    Note

    Main-thread API.

    Parameters

    • directory: string

    Returns void

  • Clears storage data associated with the base domain This means cleaning any storage that is associated either by origin or top level origin with the base domain

    Parameters

    • baseDomain: string

    Returns void

  • Clears storage data associated with the site and the originAttributes pattern in JSON format.

    Parameters

    • site: string
    • aPattern: string

    Returns void

  • Returns the directory to use as the base for storing data about GMPs.

    Returns nsIFile

  • Returns true if the given node id is allowed to store things persistently on disk. Private Browsing and local content are not allowed to store persistent data.

    Parameters

    • nodeId: string

    Returns bool

  • Remove a directory for gecko media plugins and delete it from disk. If |defer| is true, wait until the plugin is unused before removing.

    Note

    Main-thread API.

    Parameters

    • directory: string
    • defer: bool

    Returns void

  • Remove a directory for gecko media plugins.

    Note

    Main-thread API.

    Parameters

    • directory: string

    Returns void

Generated using TypeDoc