次の方法で共有


Intent.SetExtrasClassLoader(ClassLoader) Method

Definition

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.

Applies to