getMediaDownloadDir

public static String getMediaDownloadDir(Context context, String dir)

Get the storage path for media files

Return

The storage path for media files

Parameters

context

The context

dir

Custom directory


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

Deprecated

Get the storage path of media files

Return

The storage path of media files

Deprecated

This method is deprecated.

Parameters

context

The context