Malcontent.AppFilter.serialize

### Method

# Malcontent AppFilterserialize

since: 0.7.0

#### Declaration [src]

    GVariant*
    mct_app_filter_serialize (
      MctAppFilter* filter
    )

#### Description [src]

Build a `GVariant` which contains the app filter from `filter`, in an opaque variant format.

This format may change in future, but `mct_app_filter_deserialize()` is guaranteed to always be able to load any variant produced by the current or any previous version of `mct_app_filter_serialize()`.

Available since: 0.7.0

#### Return value

Type: `GVariant`

A new, floating `GVariant` containing the app filter.

The returned data is owned by the instance.