Companion

object Companion

Properties

Link copied to clipboard

Default sub-directory of the Android storage root under which artifacts are stored.

Functions

Link copied to clipboard
fun FileArtifactService.Companion.fromExternalFilesDir(context: Context, subDir: String = FileArtifactService.DEFAULT_ARTIFACTS_SUBDIR): FileArtifactService

Builds a FileArtifactService rooted at <app-specific external files dir>/<subDir>.

Link copied to clipboard
fun FileArtifactService.Companion.fromInternalFilesDir(context: Context, subDir: String = FileArtifactService.DEFAULT_ARTIFACTS_SUBDIR): FileArtifactService

Builds a FileArtifactService rooted at <internal files dir>/<subDir> (Context.getFilesDir).