JniPeerMembers.JniInstanceFields.GetSingleValue(String, IJavaPeerable) 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.
Reads a Java float instance field.
public float GetSingleValue(string encodedMember, Java.Interop.IJavaPeerable self);
member this.GetSingleValue : string * Java.Interop.IJavaPeerable -> single
Parameters
- encodedMember
- String
The Java field name and JNI descriptor separated by a period, such as value.I.
- self
- IJavaPeerable
The managed peer whose Java instance field is accessed.
Returns
The field value as float.
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.