Class IntentExtensions

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      final static <T extends Any> T getSupportParcelableExtra(Intent $self, String key, Class<T> clazz) Retrieves extended data from the intent.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

    • Method Detail

      • getSupportParcelableExtra

         final static <T extends Any> T getSupportParcelableExtra(Intent $self, String key, Class<T> clazz)

        Retrieves extended data from the intent. using appropriate API for Android Tiramisu and upwards.

        <p><b>Note: </b> [Intent.getParcelableExtra(String)] has been deprecated starting with [Build.VERSION_CODES#TIRAMISU].
        Parameters:
        key - The name of the desired item.
        clazz - The type of the object expected.
        Returns:

        the value of an item previously added with Intent.putExtra, or null if no Parcelable value was found.