Udostępnij za pośrednictwem


RemoteViews.SetBundle(Int32, String, Bundle) Method

Definition

Call a method taking one Bundle on a view in the layout for this RemoteViews.

[Android.Runtime.Register("setBundle", "(ILjava/lang/String;Landroid/os/Bundle;)V", "GetSetBundle_ILjava_lang_String_Landroid_os_Bundle_Handler")]
public virtual void SetBundle (int viewId, string? methodName, Android.OS.Bundle? value);
[<Android.Runtime.Register("setBundle", "(ILjava/lang/String;Landroid/os/Bundle;)V", "GetSetBundle_ILjava_lang_String_Landroid_os_Bundle_Handler")>]
abstract member SetBundle : int * string * Android.OS.Bundle -> unit
override this.SetBundle : int * string * Android.OS.Bundle -> unit

Parameters

viewId
Int32

The id of the view on which to call the method.

methodName
String

The name of the method to call.

value
Bundle

The value to pass to the method.

Attributes

Remarks

Java documentation for android.widget.RemoteViews.setBundle(int, java.lang.String, android.os.Bundle).

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