FloatAction Constructors

Definition

Overloads

FloatAction(String, Single)
FloatAction(String, Single, String)

FloatAction(String, Single)

[Android.Runtime.Register(".ctor", "(Ljava/lang/String;F)V", "", ApiSince=30)]
public FloatAction (string templateId, float newValue);
[<Android.Runtime.Register(".ctor", "(Ljava/lang/String;F)V", "", ApiSince=30)>]
new Android.Service.Controls.Actions.FloatAction : string * single -> Android.Service.Controls.Actions.FloatAction

Parameters

templateId
String

the identifier of the RangeTemplate that produced this action.

newValue
Single

new value for the state displayed by the RangeTemplate.

Attributes

Remarks

Java documentation for android.service.controls.actions.FloatAction.FloatAction(java.lang.String, float).

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

FloatAction(String, Single, String)

[Android.Runtime.Register(".ctor", "(Ljava/lang/String;FLjava/lang/String;)V", "", ApiSince=30)]
public FloatAction (string templateId, float newValue, string? challengeValue);
[<Android.Runtime.Register(".ctor", "(Ljava/lang/String;FLjava/lang/String;)V", "", ApiSince=30)>]
new Android.Service.Controls.Actions.FloatAction : string * single * string -> Android.Service.Controls.Actions.FloatAction

Parameters

templateId
String

the identifier of the RangeTemplate that originated this action.

newValue
Single

new value for the state of the RangeTemplate.

challengeValue
String

a value sent by the user along with the action to authenticate. null is sent when no authentication is needed or has not been requested.

Attributes

Remarks

Java documentation for android.service.controls.actions.FloatAction.FloatAction(java.lang.String, float, 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