[android-components](../../index.md) / [mozilla.components.support.utils](../index.md) / [android.content.Intent](index.md) / [toSafeIntent](./to-safe-intent.md)

# toSafeIntent

`fun `[`Intent`](https://developer.android.com/reference/android/content/Intent.html)`.toSafeIntent(): `[`SafeIntent`](../-safe-intent/index.md) [(source)](https://github.com/mozilla-mobile/android-components/blob/master/components/support/utils/src/main/java/mozilla/components/support/utils/SafeIntent.kt#L105)

Returns a [SafeIntent](../-safe-intent/index.md) for the given [Intent](https://developer.android.com/reference/android/content/Intent.html).

