Dex.app_info_get_default_for_type
Description: Reference for Dex.app_info_get_default_for_type

### Function

# Dexapp_info_get_default_for_type

unstable since: 1.2

#### Declaration [src]

    DexFuture*
    dex_app_info_get_default_for_type (
      const char* content_type,
      gboolean must_support_uris
    )

#### Description [src]

Wraps `g_app_info_get_default_for_type_async()`.

Available since: 1.2

#### Parameters

`content_type`

  Type: `const char*`

  A content type.

  The data is owned by the caller of the function.
  The value is a NUL terminated UTF-8 string.

`must_support_uris`

  Type: `gboolean`

  Whether the app must support URIs.

#### Return value

Type: `DexFuture`

A `DexFuture` that resolves to a `GAppInfo` or rejects with error.

The caller of the function takes ownership of the data, and is responsible for freeing it.