Package-level declarations

Properties

Link copied to clipboard
val EmptyLambda: () -> Unit

Exposes the EmptyLambda value used by the SDAI core common layer.

Link copied to clipboard
private const val PROTOCOL_DELIMITER: String

Exposes the PROTOCOL_DELIMITER value used by the SDAI core common layer.

Link copied to clipboard
private const val PROTOCOL_HOLDER: String

Exposes the PROTOCOL_HOLDER value used by the SDAI core common layer.

Functions

Link copied to clipboard
inline fun <T> T.applyIf(predicate: Boolean, block: T.() -> Unit): T

Executes the applyIf step in the SDAI core common layer.

Link copied to clipboard

Executes the copyToClipboard step in the SDAI core common layer.

Link copied to clipboard

Executes the fixUrlSlashes step in the SDAI core common layer.

Link copied to clipboard
fun Date.format(format: String = "yyyy-MM-dd", locale: Locale = Locale.ROOT): String

Executes the format step in the SDAI core common layer.

Link copied to clipboard

Loads SDAI data through getDayRange.

Link copied to clipboard

Loads SDAI data through getRawDay.

Link copied to clipboard

Loads SDAI data through getRawMonth.

Link copied to clipboard

Loads SDAI data through getRawYear.

Link copied to clipboard

Executes the isAppInForeground step in the SDAI core common layer.

Link copied to clipboard

Executes the openAppSettings step in the SDAI core common layer.

Link copied to clipboard
fun Context.openUri(uri: Uri)

Executes the openUri step in the SDAI core common layer.

Link copied to clipboard

Executes the openUrl step in the SDAI core common layer.

Link copied to clipboard

Executes the shouldUseNewMediaStore step in the SDAI core common layer.

Link copied to clipboard

Executes the showToast step in the SDAI core common layer.

Link copied to clipboard
fun String.toDate(format: String = "yyyy-MM-dd", locale: Locale = Locale.ROOT): Date

Converts SDAI data with toDate.

Link copied to clipboard
fun Context.uriFromFile(file: File, fileProviderPath: String): Uri

Executes the uriFromFile step in the SDAI core common layer.