Package-level declarations

Types

Link copied to clipboard
@RestrictToExtendedFlavor(value = [ExternalScope.LIBRARY_GROUP])
interface FilePickedCallback

Callback that is responsible for informing about a Uri of the picked file.

Link copied to clipboard
@RestrictToExtendedFlavor(value = [ExternalScope.LIBRARY_GROUP])
abstract class FilePickedFailure

Represents a failure raised when an error occurs during file picking.

Link copied to clipboard
@RestrictToExtendedFlavor(value = [ExternalScope.LIBRARY_GROUP])
interface LocationTracesParser
Link copied to clipboard
@RestrictToExtendedFlavor(value = [ExternalScope.LIBRARY_GROUP])
object LocationTracesParserFactory
Link copied to clipboard
@RestrictToExtendedFlavor(value = [ExternalScope.LIBRARY_GROUP])
class SharedStorageFileAccessor(registry: ActivityResultRegistry, fileExtension: FileExtension = FileExtension.TtpExtension)

Access a file picker from the device shared storage using Storage Access Framework. The reference to SharedStorageFileAccessor cannot live longer than the activity of the registry.

Functions

Link copied to clipboard
@RestrictToExtendedFlavor(value = [ExternalScope.LIBRARY_GROUP])
fun LocationTracesParser.fromAssets(context: Context, fileName: String): List<GeoLocation>

Parses the location logs from the file with the name stored in the assets folder.