GetLongField() public static method

public static GetLongField ( IntPtr obj, IntPtr fieldID ) : long
obj System.IntPtr
fieldID System.IntPtr
return long
示例#1
0
 public static long GetLongField(IntPtr obj, IntPtr fieldID)
 {
     try
     {
         return(AndroidJNI.GetLongField(obj, fieldID));
     }
     finally
     {
         AndroidJNISafe.CheckException();
     }
 }
示例#2
0
        public static long GetLongField(IntPtr obj, IntPtr fieldID)
        {
            long longField;

            try
            {
                longField = AndroidJNI.GetLongField(obj, fieldID);
            }
            finally
            {
                CheckException();
            }
            return(longField);
        }