Udostępnij za pośrednictwem


Driver.SetFeature(String, Boolean) Method

Definition

Set the value of a feature flag.

[Android.Runtime.Register("setFeature", "(Ljava/lang/String;Z)V", "GetSetFeature_Ljava_lang_String_ZHandler")]
public virtual void SetFeature (string? name, bool value);
[<Android.Runtime.Register("setFeature", "(Ljava/lang/String;Z)V", "GetSetFeature_Ljava_lang_String_ZHandler")>]
abstract member SetFeature : string * bool -> unit
override this.SetFeature : string * bool -> unit

Parameters

name
String

The feature name, which is a fully-qualified URI.

value
Boolean

The requested value of the feature (true or false).

Implements

Attributes

Exceptions

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