parseIntOrNull

Parses the Bundle of android.app.Activity.getIntent into Int if it is described by a SingleValueNavigationSpec matching the NavigationBundleSpecType.IntegerType either directly or wrapped by NavigationBundleSpecType.OptionalType.

Return

The Int stored in the bundle or null if no such value was found.


Parses the Bundle of androidx.fragment.app.Fragment.getArguments into Int if it is described by a SingleValueNavigationSpec matching the NavigationBundleSpecType.IntegerType either directly or wrapped by NavigationBundleSpecType.OptionalType.

Return

The Int stored in the bundle or null if no such value was found.


Parses the Bundle of Intent into Int if it is described by a SingleValueNavigationSpec matching the NavigationBundleSpecType.IntegerType either directly or wrapped by NavigationBundleSpecType.OptionalType.

Return

The Int stored in the bundle or null if no such value was found.