class SafeIntent
(source)
External applications can pass values into Intents that can cause us to crash: in defense, we wrap Intent and catch the exceptions they may force us to throw. See bug 1090385 for more.
SafeIntent(unsafe: Intent)
External applications can pass values into Intents that can cause us to crash: in defense, we wrap Intent and catch the exceptions they may force us to throw. See bug 1090385 for more. |
val action: String? |
|
val categories: Set<String>? |
|
val data: Uri? |
|
val dataString: String? |
|
val extras: Bundle? |
|
val flags: Int |
|
val isLauncherIntent: Boolean |
|
val unsafe: Intent |
fun getBooleanExtra(name: String, defaultValue: Boolean): Boolean |
|
fun getBundleExtra(name: String): SafeBundle? |
|
fun getCharSequenceExtra(name: String): CharSequence? |
|
fun getIntExtra(name: String, defaultValue: Int): Int |
|
fun <T : Parcelable> getParcelableArrayListExtra(name: String): ArrayList<T>? |
|
fun <T : Parcelable> getParcelableExtra(name: String): T? |
|
fun getStringArrayListExtra(name: String): ArrayList<String>? |
|
fun getStringExtra(name: String): String? |
|
fun hasExtra(name: String): Boolean |