## PkMessage

PkMessage — Message object

## Synopsis

                        PkMessagePrivate;
                        PkMessage;
                        PkMessageClass;
    PkMessage *         pk_message_new                      (void);
    const gchar *       pk_message_get_details              (PkMessage *message);
    PkMessageEnum       pk_message_get_kind                 (PkMessage *message);

## Object Hierarchy

      GObject
       +----PkSource
             +----PkMessage

## Properties

      "details"                  gchar*                : Read / Write
      "type"                     guint                 : Read / Write

## Description

This GObject represents a message 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.

## Details

### PkMessagePrivate

    typedef struct _PkMessagePrivate PkMessagePrivate;

Private PkMessage data

### PkMessage

    typedef struct _PkMessage PkMessage;

### PkMessageClass

    typedef struct {
    	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);
    } PkMessageClass;

### pk_message_new ()

    PkMessage *         pk_message_new                      (void);

Returns : | a new PkMessage object.

Since 0.5.4

### pk_message_get_details ()

    const gchar *       pk_message_get_details              (PkMessage *message);

Gets the message details.

`message` : | a valid PkMessage instance
Returns : | the details, or `NULL` if unset

Since 0.6.4

### pk_message_get_kind ()

    PkMessageEnum       pk_message_get_kind                 (PkMessage *message);

Gets the message kind

`message` : | a valid PkMessage instance
Returns : | the `PkMessageEnum`

Since 0.6.4

## Property Details

### The `"details"` property

      "details"                  gchar*                : Read / Write

Default value: NULL

Since 0.5.4

### The `"type"` property

      "type"                     guint                 : Read / Write

Default value: 0

Since 0.5.4