Package-level declarations

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
inline fun Context.addEvent(title: String, location: String, begin: Long, end: Long, onCantHandleAction: () -> Unit = {})
Link copied to clipboard
inline fun Context.applicationDetailsIntent(onCantHandleAction: () -> Unit = {})
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
inline fun Context.composeMessage(phone: String, message: String = "", onCantHandleAction: () -> Unit = {})
Link copied to clipboard
inline fun Context.composeMmsMessage(message: String, attachment: Uri, onCantHandleAction: () -> Unit = {})
Link copied to clipboard
@RequiresPermission(allOf = ["com.android.alarm.permission.SET_ALARM"])
inline fun Context.createAlarm(message: String, hour: Int, minutes: Int, onCantHandleAction: () -> Unit = {})
Link copied to clipboard
inline fun Context.dialPhoneNumber(phoneNumber: String, onCantHandleAction: () -> Unit = {})
Link copied to clipboard
inline fun Context.editContact(contactUri: Uri, email: String, onCantHandleAction: () -> Unit = {})
Link copied to clipboard
Link copied to clipboard
fun Context.getActivityPendingIntent(requestCode: Int = 0, intent: Intent, flags: Int = PendingIntent.FLAG_ONE_SHOT): PendingIntent
Link copied to clipboard
fun Context.getBroadcastPendingIntent(requestCode: Int = 0, intent: Intent, flags: Int = PendingIntent.FLAG_ONE_SHOT): PendingIntent
Link copied to clipboard

Standard Intent.getDoubleExtra but allows for null. Note that this would treat Double.MIN_VALUE as null if you were to pass it

Link copied to clipboard

Standard Intent.getBooleanExtra but allows for null. Note that this would treat Int.MIN_VALUE as null if you were to pass it

Link copied to clipboard

Standard Intent.getIntExtra but allows for null. Note that this would treat Int.MIN_VALUE as null if you were to pass it

Link copied to clipboard

Standard Intent.getLongExtra but allows for null. Note that this would treat Long.MIN_VALUE as null if you were to pass it

Link copied to clipboard
inline fun Context.insertContact(name: String, email: String, onCantHandleAction: () -> Unit = {})
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
inline fun <T> Context.newIntent(): Intent
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
inline fun Activity.openFile(mimeType: String, requestCode: Int, title: String = "Select file via", onCantHandleIntent: () -> Unit = {})
Link copied to clipboard
fun Context?.openGoogleMaps(query: String, placeId: String)
Link copied to clipboard
inline fun Context.openSettingsCategory(category: String, onCantHandleAction: () -> Unit = {})

Available types

inline fun FragmentActivity.openSettingsCategory(category: String, onCantHandleAction: () -> Unit = {})
Link copied to clipboard
inline fun FragmentActivity.openSettingsCategoryAsResult(category: String, resultCode: Int, onCantHandleAction: () -> Unit = {})
Link copied to clipboard
inline fun Context.openWebPage(url: String, onCantHandleAction: () -> Unit = {})
Link copied to clipboard
inline fun Context.openWifiSettings(crossinline onCantHandleAction: () -> Unit = {})
Link copied to clipboard
inline fun Activity.pickImage(PICK_IMAGES_CODE: Int, allowMultiple: Boolean = false, title: String = "Pick images", onCantHandleIntent: () -> Unit = {})
Link copied to clipboard
inline fun Context.playMedia(file: Uri, onCantHandleAction: () -> Unit = {})
Link copied to clipboard
inline fun Context.playSearchArtist(artist: String, onCantHandleAction: () -> Unit = {})
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
inline fun Context.searchWeb(query: String, onCantHandleAction: () -> Unit = {})
Link copied to clipboard
inline fun Fragment.selectContact(onCantHandleAction: () -> Unit = {}, crossinline onContactPicked: (Uri?) -> Unit): ActivityResultLauncher<Void?>
inline fun FragmentActivity.selectContact(onCantHandleAction: () -> Unit = {}, crossinline onContactPicked: (Uri?) -> Unit): ActivityResultLauncher<Void?>
Link copied to clipboard
inline fun Context.showMap(geoLocation: Uri, onCantHandleAction: () -> Unit = {})
Link copied to clipboard
fun Context.showTimePicker(hourOfDay: Int, minute: Int, is24Hour: Boolean, action: (view: TimePicker, hourOfDay: Int, minute: Int) -> Unit)
Link copied to clipboard
Link copied to clipboard
@RequiresPermission(allOf = ["com.android.alarm.permission.SET_ALARM"])
inline fun Context.startTimer(message: String, seconds: Int, onCantHandleAction: () -> Unit = {})