BatteryManager.GetStringProperty(Int32) Method
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.
Return the value of a battery property of String type.
[Android.Runtime.Register("getStringProperty", "(I)Ljava/lang/String;", "GetGetStringProperty_IHandler", ApiSince=35)]
public virtual string? GetStringProperty (int id);
[<Android.Runtime.Register("getStringProperty", "(I)Ljava/lang/String;", "GetGetStringProperty_IHandler", ApiSince=35)>]
abstract member GetStringProperty : int -> string
override this.GetStringProperty : int -> string
Parameters
- id
- Int32
identifier of the requested property.
Returns
the property value, or null if not supported.
- Attributes
Remarks
Return the value of a battery property of String type. If the platform does not provide the property queried, this value will be null.
Java documentation for android.os.BatteryManager.getStringProperty(int)
.
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.