共用方式為


CapabilityParams.Builder(String, String) Constructor

Definition

Constructor.

[Android.Runtime.Register(".ctor", "(Ljava/lang/String;Ljava/lang/String;)V", "", ApiSince=33)]
public Builder (string key, string value);
[<Android.Runtime.Register(".ctor", "(Ljava/lang/String;Ljava/lang/String;)V", "", ApiSince=33)>]
new Android.Content.PM.CapabilityParams.Builder : string * string -> Android.Content.PM.CapabilityParams.Builder

Parameters

key
String

key of the capability parameter. Note the character "/" is not permitted.

value
String

The primary name of value in the CapabilityParams, cannot be empty.

Attributes

Remarks

Constructor.

Java documentation for android.content.pm.CapabilityParams.Builder.CapabilityParams$Builder(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