Intent.SetExtrasClassLoader(ClassLoader) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Sets the ClassLoader that will be used when unmarshalling any Parcelable values from the extras of this Intent.
[Android.Runtime.Register("setExtrasClassLoader", "(Ljava/lang/ClassLoader;)V", "GetSetExtrasClassLoader_Ljava_lang_ClassLoader_Handler")]
public virtual void SetExtrasClassLoader (Java.Lang.ClassLoader? loader);
[<Android.Runtime.Register("setExtrasClassLoader", "(Ljava/lang/ClassLoader;)V", "GetSetExtrasClassLoader_Ljava_lang_ClassLoader_Handler")>]
abstract member SetExtrasClassLoader : Java.Lang.ClassLoader -> unit
override this.SetExtrasClassLoader : Java.Lang.ClassLoader -> unit
Parameters
- loader
- ClassLoader
a ClassLoader, or null to use the default loader at the time of unmarshalling.
- Attributes
Remarks
Sets the ClassLoader that will be used when unmarshalling any Parcelable values from the extras of this Intent.
Java documentation for android.content.Intent.setExtrasClassLoader(java.lang.ClassLoader)
.
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.