PkEulaRequired: PackageKit Reference Manual

## PkEulaRequired PkEulaRequired — EulaRequired object |

## Functions

PkEulaRequired * | pk_eula_required_new ()
const gchar * | pk_eula_required_get_eula_id ()
const gchar * | pk_eula_required_get_license_agreement ()
const gchar * | pk_eula_required_get_package_id ()
const gchar * | pk_eula_required_get_vendor_name ()

## Properties

gchar * | eula-id | Read / Write
gchar * | license-agreement | Read / Write
gchar * | package-id | Read / Write
gchar * | vendor-name | Read / Write

## Object Hierarchy

        GObject
        ╰── PkSource
            ╰── PkEulaRequired

## Description

This GObject represents a eula_required from a transaction. These objects represent single items of data from the transaction, and are often present in lists (PkResults) or just refcounted in client programs.

## Functions

### pk_eula_required_new ()

    PkEulaRequired *
    pk_eula_required_new (void);

#### Returns

a new PkEulaRequired object.

Since: 0.5.4

### pk_eula_required_get_eula_id ()

    const gchar *
    pk_eula_required_get_eula_id (PkEulaRequired *eula_required);

Get the ID for this EULA

#### Parameters

eula_required | a valid PkEulaRequired instance. |

#### Returns

an ID

Since: 1.1.8

### pk_eula_required_get_license_agreement ()

    const gchar *
    pk_eula_required_get_license_agreement
                                   (PkEulaRequired *eula_required);

Get the text of the license agreement.

#### Parameters

eula_required | a valid PkEulaRequired instance. |

#### Returns

license agreement text

Since: 1.1.8

### pk_eula_required_get_package_id ()

    const gchar *
    pk_eula_required_get_package_id (PkEulaRequired *eula_required);

Get the PackageID this EULA is for

#### Parameters

eula_required | a valid PkEulaRequired instance. |

#### Returns

a PackageID

Since: 1.1.8

### pk_eula_required_get_vendor_name ()

    const gchar *
    pk_eula_required_get_vendor_name (PkEulaRequired *eula_required);

Get the vendor this EULA is from.

#### Parameters

eula_required | a valid PkEulaRequired instance. |

#### Returns

license vendor name

Since: 1.1.8

## Types and Values

## Property Details

### The `“eula-id”` property

      “eula-id”                  gchar *

ID for this EULA.

Flags: Read / Write

Default value: NULL

Since: 0.5.4

### The `“license-agreement”` property

      “license-agreement”        gchar *

The text of the license agreement.

Flags: Read / Write

Default value: NULL

Since: 0.5.4

### The `“package-id”` property

      “package-id”               gchar *

PackageID this EULA is for.

Flags: Read / Write

Default value: NULL

Since: 0.5.4

### The `“vendor-name”` property

      “vendor-name”              gchar *

Vendor this EULA is from.

Flags: Read / Write

Default value: NULL

Since: 0.5.4