Example #1
0
 public virtual bool registerListener(android.hardware.SensorEventListener arg0, android.hardware.Sensor arg1, int arg2)
 {
     global::MonoJavaBridge.JNIEnv @__env = global::MonoJavaBridge.JNIEnv.ThreadEnv;
     if (!IsClrObject)
     {
         return(@__env.CallBooleanMethod(this.JvmHandle, global::android.hardware.SensorManager._registerListener4384, global::MonoJavaBridge.JavaBridge.ConvertToValue(arg0), global::MonoJavaBridge.JavaBridge.ConvertToValue(arg1), global::MonoJavaBridge.JavaBridge.ConvertToValue(arg2)));
     }
     else
     {
         return(@__env.CallNonVirtualBooleanMethod(this.JvmHandle, global::android.hardware.SensorManager.staticClass, global::android.hardware.SensorManager._registerListener4384, global::MonoJavaBridge.JavaBridge.ConvertToValue(arg0), global::MonoJavaBridge.JavaBridge.ConvertToValue(arg1), global::MonoJavaBridge.JavaBridge.ConvertToValue(arg2)));
     }
 }
Example #2
0
 public virtual void unregisterListener(android.hardware.SensorEventListener arg0)
 {
     global::MonoJavaBridge.JNIEnv @__env = global::MonoJavaBridge.JNIEnv.ThreadEnv;
     if (!IsClrObject)
     {
         @__env.CallVoidMethod(this.JvmHandle, global::android.hardware.SensorManager._unregisterListener4391, global::MonoJavaBridge.JavaBridge.ConvertToValue(arg0));
     }
     else
     {
         @__env.CallNonVirtualVoidMethod(this.JvmHandle, global::android.hardware.SensorManager.staticClass, global::android.hardware.SensorManager._unregisterListener4391, global::MonoJavaBridge.JavaBridge.ConvertToValue(arg0));
     }
 }
Example #3
0
 public virtual bool registerListener(android.hardware.SensorEventListener listener
                                      , android.hardware.Sensor sensor, int rate, android.os.Handler handler)
 {
     throw new System.NotImplementedException();
 }
Example #4
0
 public virtual void unregisterListener(android.hardware.SensorEventListener listener
                                        )
 {
     throw new System.NotImplementedException();
 }
Example #5
0
 internal ListenerDelegate(SensorManager _enclosing, android.hardware.SensorEventListener
                           listener, android.hardware.Sensor sensor, android.os.Handler handler)
 {
     throw new System.NotImplementedException();
 }