AndroidJNI
- AllocObject
- AttachCurrentThread
- CallBooleanMethod
- CallByteMethod
- CallCharMethod
- CallDoubleMethod
- CallFloatMethod
- CallIntMethod
- CallLongMethod
- CallObjectMethod
- CallShortMethod
- CallStaticBooleanMethod
- CallStaticByteMethod
- CallStaticCharMethod
- CallStaticDoubleMethod
- CallStaticFloatMethod
- CallStaticIntMethod
- CallStaticLongMethod
- CallStaticObjectMethod
- CallStaticShortMethod
- CallStaticStringMethod
- CallStaticVoidMethod
- CallStringMethod
- CallVoidMethod
- DeleteGlobalRef
- DeleteLocalRef
- DetachCurrentThread
- EnsureLocalCapacity
- ExceptionClear
- ExceptionDescribe
- ExceptionOccurred
- FatalError
- FindClass
- FromBooleanArray
- FromByteArray
- FromCharArray
- FromDoubleArray
- FromFloatArray
- FromIntArray
- FromLongArray
- FromObjectArray
- FromReflectedField
- FromReflectedMethod
- FromShortArray
- GetArrayLength
- GetBooleanArrayElement
- GetBooleanField
- GetByteArrayElement
- GetByteField
- GetCharArrayElement
- GetCharField
- GetDoubleArrayElement
- GetDoubleField
- GetFieldID
- GetFloatArrayElement
- GetFloatField
- GetIntArrayElement
- GetIntField
- GetLongArrayElement
- GetLongField
- GetMethodID
- GetObjectArrayElement
- GetObjectClass
- GetObjectField
- GetShortArrayElement
- GetShortField
- GetStaticBooleanField
- GetStaticByteField
- GetStaticCharField
- GetStaticDoubleField
- GetStaticFieldID
- GetStaticFloatField
- GetStaticIntField
- GetStaticLongField
- GetStaticMethodID
- GetStaticObjectField
- GetStaticShortField
- GetStaticStringField
- GetStringField
- GetStringUTFChars
- GetStringUTFLength
- GetSuperclass
- GetVersion
- IsAssignableFrom
- IsInstanceOf
- IsSameObject
- NewBooleanArray
- NewByteArray
- NewCharArray
- NewDoubleArray
- NewFloatArray
- NewGlobalRef
- NewIntArray
- NewLocalRef
- NewLongArray
- NewObjectArray
- NewObject
- NewShortArray
- NewStringUTF
- PopLocalFrame
- PushLocalFrame
- SetBooleanArrayElement
- SetBooleanField
- SetByteArrayElement
- SetByteField
- SetCharArrayElement
- SetCharField
- SetDoubleArrayElement
- SetDoubleField
- SetFloatArrayElement
- SetFloatField
- SetIntArrayElement
- SetIntField
- SetLongArrayElement
- SetLongField
- SetObjectArrayElement
- SetObjectField
- SetShortArrayElement
- SetShortField
- SetStaticBooleanField
- SetStaticByteField
- SetStaticCharField
- SetStaticDoubleField
- SetStaticFloatField
- SetStaticIntField
- SetStaticLongField
- SetStaticObjectField
- SetStaticShortField
- SetStaticStringField
- SetStringField
- ThrowNew
- Throw
- ToBooleanArray
- ToByteArray
- ToCharArray
- ToDoubleArray
- ToFloatArray
- ToIntArray
- ToLongArray
- ToObjectArray
- ToReflectedField
- ToReflectedMethod
- ToShortArray
AndroidJNI.GetStringField 获取字符串域
static function GetStringField (obj : IntPtr, fieldID : IntPtr) : string
Description描述
This function returns the value of an instance (nonstatic) field of an object.
这个函数返回一个对象实例(非静态)域的值。
This is a convenience function that calls GetObjectField() with the same parameters, but creates a managed string from the result.
这是一个方便的函数,调用带有相同参数的GetObjectField(),但从结果创建一个托管字符串。
参见: Java Native Interface Specification (Oracle)
最后修改:2011年4月13日 Wednesday 19:22