PackageKit Reference Manual: PkMediaChangeRequired

## PkMediaChangeRequired PkMediaChangeRequired — MediaChangeRequired object |

## Functions

PkMediaChangeRequired * | pk_media_change_required_new ()

## Properties

gchar * | media-id | Read / Write
gchar * | media-text | Read / Write
guint | media-type | Read / Write

## Types and Values

struct | PkMediaChangeRequired
struct | PkMediaChangeRequiredClass

## Object Hierarchy

        GObject
        ╰── PkSource
            ╰── PkMediaChangeRequired

## Description

This GObject represents a media_change_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_media_change_required_new ()

    PkMediaChangeRequired *
    pk_media_change_required_new (void);

#### Returns

a new PkMediaChangeRequired object.

Since 0.5.4

## Types and Values

### struct PkMediaChangeRequired

    struct PkMediaChangeRequired;

### struct PkMediaChangeRequiredClass

    struct PkMediaChangeRequiredClass {
    	PkSourceClass parent_class;
    	/* padding for future expansion */
    	void (*_pk_reserved1) (void);
    	void (*_pk_reserved2) (void);
    	void (*_pk_reserved3) (void);
    	void (*_pk_reserved4) (void);
    	void (*_pk_reserved5) (void);
    };

## Property Details

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

      “media-id”                 gchar *

Flags: Read / Write

Default value: NULL

Since 0.5.4

### The `“media-text”` property

      “media-text”               gchar *

Flags: Read / Write

Default value: NULL

Since 0.5.4

### The `“media-type”` property

      “media-type”               guint

Flags: Read / Write

Default value: 0

Since 0.5.4