RygelV1Hacks

## RygelV1Hacks RygelV1Hacks — Various devices that need a downgrade to MediaServer:1 and ContentDirectory:1 because they ignore that higher versions are required to be backwards-compatible. |

## Synopsis

    #define             RYGEL_TYPE_V1_HACKS
    void                rygel_v1_hacks_apply_on_device      (RygelV1Hacks *self,
                                                             RygelRootDevice *device,
                                                             const gchar *template_path,
                                                             GError **error);
    RygelV1Hacks *      rygel_v1_hacks_new                  (const gchar *device_type,
                                                             gchar **service_types,
                                                             int service_types_length1);
    const gchar *       rygel_v1_hacks_get_device_type      (RygelV1Hacks *self);
    void                rygel_v1_hacks_set_device_type      (RygelV1Hacks *self,
                                                             const gchar *value);
    gchar **            rygel_v1_hacks_get_service_types    (RygelV1Hacks *self,
                                                             int *result_length1);
    struct              RygelV1Hacks;
    struct              RygelV1HacksClass;

## Object Hierarchy

      GObject
       +----RygelV1Hacks

## Properties

      "device-type"              gchar*                : Read / Write / Construct
      "service-types"            GStrv                 : Read / Write / Construct Only

## Description

## Details

### RYGEL_TYPE_V1_HACKS

    #define RYGEL_TYPE_V1_HACKS (rygel_v1_hacks_get_type ())

The type for RygelV1Hacks.

### rygel_v1_hacks_apply_on_device ()

    void                rygel_v1_hacks_apply_on_device      (RygelV1Hacks *self,
                                                             RygelRootDevice *device,
                                                             const gchar *template_path,
                                                             GError **error);

`self` : | the RygelV1Hacks instance
`device` : |
`template_path` : |
`error` : | location to store the error occuring, or `NULL` to ignore

### rygel_v1_hacks_new ()

    RygelV1Hacks *      rygel_v1_hacks_new                  (const gchar *device_type,
                                                             gchar **service_types,
                                                             int service_types_length1);

`service_types_length1` : | length of the `service_types` array
`device_type` : |
`service_types` : |

### rygel_v1_hacks_get_device_type ()

    const gchar *       rygel_v1_hacks_get_device_type      (RygelV1Hacks *self);

Get and return the current value of the "device-type" property.

`self` : | the RygelV1Hacks instance to query
Returns : | the value of the "device-type" property

### rygel_v1_hacks_set_device_type ()

    void                rygel_v1_hacks_set_device_type      (RygelV1Hacks *self,
                                                             const gchar *value);

Set the value of the "device-type" property to `value`.

`self` : | the RygelV1Hacks instance to modify
`value` : | the new value of the "device-type" property

### rygel_v1_hacks_get_service_types ()

    gchar **            rygel_v1_hacks_get_service_types    (RygelV1Hacks *self,
                                                             int *result_length1);

Get and return the current value of the "service-types" property.

`self` : | the RygelV1Hacks instance to query
Returns : | the value of the "service-types" property

### struct RygelV1Hacks

    struct RygelV1Hacks;

Various devices that need a downgrade to MediaServer:1 and ContentDirectory:1 because they ignore that higher versions are required to be backwards-compatible.

### struct RygelV1HacksClass

    struct RygelV1HacksClass {
    	GObjectClass parent_class;
    };

The class structure for `RYGEL_TYPE_V1_HACKS`. All the fields in this structure are private and should never be accessed directly.

GObjectClass `parent_class`; | the parent class structure

## Property Details

### The `"device-type"` property

      "device-type"              gchar*                : Read / Write / Construct

device-type.

Default value: NULL

### The `"service-types"` property

      "service-types"            GStrv                 : Read / Write / Construct Only

service-types.