Clapper.Player.set_download_dir

### Method

# Clapper Playerset_download_dir

since: 0.8

#### Declaration [src]

    void
    clapper_player_set_download_dir (
      ClapperPlayer* player,
      const gchar* path
    )

#### Description [src]

Set a directory that `player` will use to store downloads.

See `ClapperPlayer:download-enabled` description for more info how this works.

Available since: 0.8

Sets property | `Clapper.Player:download-dir`

#### Parameters

`path`

  Type: `const gchar*`

  The path of a directory to use for media downloads.

  The data is owned by the caller of the method.
  The value is a platform-native string, using the preferred OS encoding on Unix and UTF-8 on Windows.