Condividi tramite


RemoteViews.SetInt(Int32, String, Int32) Method

Definition

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

[Android.Runtime.Register("setInt", "(ILjava/lang/String;I)V", "GetSetInt_ILjava_lang_String_IHandler")]
public virtual void SetInt (int viewId, string? methodName, int value);
[<Android.Runtime.Register("setInt", "(ILjava/lang/String;I)V", "GetSetInt_ILjava_lang_String_IHandler")>]
abstract member SetInt : int * string * int -> unit
override this.SetInt : int * string * int -> 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
Int32

The value to pass to the method.

Attributes

Remarks

Java documentation for android.widget.RemoteViews.setInt(int, java.lang.String, int).

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