RemoteViews.SetCharSequence Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
SetCharSequence(Int32, String, ICharSequence) |
Call a method taking one CharSequence on a view in the layout for this RemoteViews. |
SetCharSequence(Int32, String, Int32) |
Call a method taking one CharSequence on a view in the layout for this RemoteViews. |
SetCharSequence(Int32, String, String) |
Call a method taking one CharSequence on a view in the layout for this RemoteViews. |
SetCharSequence(Int32, String, ICharSequence)
Call a method taking one CharSequence on a view in the layout for this RemoteViews.
[Android.Runtime.Register("setCharSequence", "(ILjava/lang/String;Ljava/lang/CharSequence;)V", "GetSetCharSequence_ILjava_lang_String_Ljava_lang_CharSequence_Handler")]
public virtual void SetCharSequence (int viewId, string? methodName, Java.Lang.ICharSequence? value);
[<Android.Runtime.Register("setCharSequence", "(ILjava/lang/String;Ljava/lang/CharSequence;)V", "GetSetCharSequence_ILjava_lang_String_Ljava_lang_CharSequence_Handler")>]
abstract member SetCharSequence : int * string * Java.Lang.ICharSequence -> unit
override this.SetCharSequence : int * string * Java.Lang.ICharSequence -> 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
- ICharSequence
The value to pass to the method.
- Attributes
Remarks
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
SetCharSequence(Int32, String, Int32)
Call a method taking one CharSequence on a view in the layout for this RemoteViews.
[Android.Runtime.Register("setCharSequence", "(ILjava/lang/String;I)V", "GetSetCharSequence_ILjava_lang_String_IHandler", ApiSince=31)]
public virtual void SetCharSequence (int viewId, string methodName, int stringResource);
[<Android.Runtime.Register("setCharSequence", "(ILjava/lang/String;I)V", "GetSetCharSequence_ILjava_lang_String_IHandler", ApiSince=31)>]
abstract member SetCharSequence : int * string * int -> unit
override this.SetCharSequence : 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.
- stringResource
- Int32
The resource to resolve and pass as argument to the method.
- Attributes
Remarks
Java documentation for android.widget.RemoteViews.setCharSequence(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
SetCharSequence(Int32, String, String)
Call a method taking one CharSequence on a view in the layout for this RemoteViews.
public void SetCharSequence (int viewId, string? methodName, string? value);
member this.SetCharSequence : int * string * string -> 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
- String
The value to pass to the method.
Remarks
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.