次の方法で共有


RemoteViews.SetByte(Int32, String, SByte) Method

Definition

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

[Android.Runtime.Register("setByte", "(ILjava/lang/String;B)V", "GetSetByte_ILjava_lang_String_BHandler")]
public virtual void SetByte (int viewId, string? methodName, sbyte value);
[<Android.Runtime.Register("setByte", "(ILjava/lang/String;B)V", "GetSetByte_ILjava_lang_String_BHandler")>]
abstract member SetByte : int * string * sbyte -> unit
override this.SetByte : int * string * sbyte -> 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
SByte

The value to pass to the method.

Attributes

Remarks

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

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