次の方法で共有


RemoteViews.SetFloat(Int32, String, Single) Method

Definition

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

[Android.Runtime.Register("setFloat", "(ILjava/lang/String;F)V", "GetSetFloat_ILjava_lang_String_FHandler")]
public virtual void SetFloat (int viewId, string? methodName, float value);
[<Android.Runtime.Register("setFloat", "(ILjava/lang/String;F)V", "GetSetFloat_ILjava_lang_String_FHandler")>]
abstract member SetFloat : int * string * single -> unit
override this.SetFloat : int * string * single -> 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
Single

The value to pass to the method.

Attributes

Remarks

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

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