Interface nsIDAPTelemetryType

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

  • Split measurement into shares and create a report with encrypted shares.

    Returns

    The raw bytes of a report, ready for sending.

    Note

    This can potentially run for a long time. Take care not to block the main thread for too long.

    Parameters

    • leaderHpkeConfig: invalid

      The leader share will be encrypted with this config.

    • helperHpkeConfig: invalid

      Same for the helper.

    • measurement: uint8_t

      The data which will be encoded and shared.

    • task_id: invalid

      Identifies which task this measurement is for which influences both encoding and encryption.

    • time_precision: uint64_t

      Determines the report timestamp.

    • report: invalid

    Returns void

  • Parameters

    • leaderHpkeConfig: invalid
    • helperHpkeConfig: invalid
    • measurement: invalid
    • task_id: invalid
    • time_precision: uint64_t
    • report: invalid

    Returns void

  • 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