다음을 통해 공유


FabricatedOverlay.SetResourceValue Method

Definition

Overloads

SetResourceValue(String, ParcelFileDescriptor, String)

Sets the resource value in the fabricated overlay for the file descriptor type with the configuration.

SetResourceValue(String, Int32, Int32, String)

Sets the resource value in the fabricated overlay for the integer-like types with the configuration.

SetResourceValue(String, Int32, String, String)

Sets the resource value in the fabricated overlay for the string-like type with the configuration.

SetResourceValue(String, ParcelFileDescriptor, String)

Sets the resource value in the fabricated overlay for the file descriptor type with the configuration.

[Android.Runtime.Register("setResourceValue", "(Ljava/lang/String;Landroid/os/ParcelFileDescriptor;Ljava/lang/String;)V", "GetSetResourceValue_Ljava_lang_String_Landroid_os_ParcelFileDescriptor_Ljava_lang_String_Handler", ApiSince=34)]
public virtual void SetResourceValue (string resourceName, Android.OS.ParcelFileDescriptor value, string? configuration);
[<Android.Runtime.Register("setResourceValue", "(Ljava/lang/String;Landroid/os/ParcelFileDescriptor;Ljava/lang/String;)V", "GetSetResourceValue_Ljava_lang_String_Landroid_os_ParcelFileDescriptor_Ljava_lang_String_Handler", ApiSince=34)>]
abstract member SetResourceValue : string * Android.OS.ParcelFileDescriptor * string -> unit
override this.SetResourceValue : string * Android.OS.ParcelFileDescriptor * string -> unit

Parameters

resourceName
String

name of the target resource to overlay (in the form [package]:type/entry)

value
ParcelFileDescriptor

the file descriptor whose contents are the value of the frro

configuration
String

The string representation of the config this overlay is enabled for

Attributes

Remarks

Sets the resource value in the fabricated overlay for the file descriptor type with the configuration.

Java documentation for android.content.om.FabricatedOverlay.setResourceValue(java.lang.String, android.os.ParcelFileDescriptor, java.lang.String).

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

SetResourceValue(String, Int32, Int32, String)

Sets the resource value in the fabricated overlay for the integer-like types with the configuration.

[Android.Runtime.Register("setResourceValue", "(Ljava/lang/String;IILjava/lang/String;)V", "GetSetResourceValue_Ljava_lang_String_IILjava_lang_String_Handler", ApiSince=34)]
public virtual void SetResourceValue (string resourceName, int dataType, int value, string? configuration);
[<Android.Runtime.Register("setResourceValue", "(Ljava/lang/String;IILjava/lang/String;)V", "GetSetResourceValue_Ljava_lang_String_IILjava_lang_String_Handler", ApiSince=34)>]
abstract member SetResourceValue : string * int * int * string -> unit
override this.SetResourceValue : string * int * int * string -> unit

Parameters

resourceName
String

name of the target resource to overlay (in the form [package]:type/entry)

dataType
Int32

the data type of the new value

value
Int32

the integer representing the new value

configuration
String

The string representation of the config this overlay is enabled for

Attributes

Remarks

Sets the resource value in the fabricated overlay for the integer-like types with the configuration.

Java documentation for android.content.om.FabricatedOverlay.setResourceValue(java.lang.String, int, int, java.lang.String).

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

SetResourceValue(String, Int32, String, String)

Sets the resource value in the fabricated overlay for the string-like type with the configuration.

[Android.Runtime.Register("setResourceValue", "(Ljava/lang/String;ILjava/lang/String;Ljava/lang/String;)V", "GetSetResourceValue_Ljava_lang_String_ILjava_lang_String_Ljava_lang_String_Handler", ApiSince=34)]
public virtual void SetResourceValue (string resourceName, int dataType, string value, string? configuration);
[<Android.Runtime.Register("setResourceValue", "(Ljava/lang/String;ILjava/lang/String;Ljava/lang/String;)V", "GetSetResourceValue_Ljava_lang_String_ILjava_lang_String_Ljava_lang_String_Handler", ApiSince=34)>]
abstract member SetResourceValue : string * int * string * string -> unit
override this.SetResourceValue : string * int * string * string -> unit

Parameters

resourceName
String

name of the target resource to overlay (in the form [package]:type/entry)

dataType
Int32

the data type of the new value

value
String

the string representing the new value

configuration
String

The string representation of the config this overlay is enabled for

Attributes

Remarks

Sets the resource value in the fabricated overlay for the string-like type with the configuration.

Java documentation for android.content.om.FabricatedOverlay.setResourceValue(java.lang.String, int, java.lang.String, java.lang.String).

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