asFile

open fun asFile(): RequestBuilder<File>

Attempts to always load a File containing the resource, either using a file path obtained from the media store (for local images/videos), or using Glide's disk cache (for remote images/videos).

For remote content, prefer downloadOnly.

Return

A new request builder for obtaining File paths to content.