getMediaDownloadDir

public static String getMediaDownloadDir(Context context, String dir)

Retrieves the storage path for media files

Return

The storage path for media files

Parameters

context

The context

dir

The custom directory


@Deprecated()
public static String getMediaDownloadDir(Context context)

Deprecated

Retrieves the storage path for media files.

Return

The storage path for media files.

Parameters

context

The context.