Companion
object Companion
函数
Link copied to clipboard
fun FileArtifactService.Companion.fromExternalFilesDir(context: Context, subDir: String = FileArtifactService.DEFAULT_ARTIFACTS_SUBDIR): FileArtifactService
构建一个…… FileArtifactService “Rooted at” 的意思是“以……为基础;起源于……”。例如:“The company is rooted at a small town in the north of the country.”(这家公司的总部位于该国北部的一个小镇。) <app-specific external files dir>/<subDir>.
Link copied to clipboard
fun FileArtifactService.Companion.fromInternalFilesDir(context: Context, subDir: String = FileArtifactService.DEFAULT_ARTIFACTS_SUBDIR): FileArtifactService
构建一个…… FileArtifactService “Rooted at” 的意思是“以……为基础;起源于……”。例如:“The company is rooted at a small town in the north of the country.”(这家公司的总部位于该国北部的一个小镇。) <internal files dir>/<subDir> (Context.getFilesDir).