FloatAction Constructors
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
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
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
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.