getCallbacks static method

JList<BatteryStateCallback?>? getCallbacks()

from: static public java.util.List<com.example.battery_ffi.BatteryStateCallback> getCallbacks() The returned object must be released after use, by calling the release method.

Implementation

static jni$_.JList<BatteryStateCallback?>? getCallbacks() {
  return _getCallbacks(
    _class.reference.pointer,
    _id_getCallbacks as jni$_.JMethodIDPtr,
  ).object<jni$_.JList<BatteryStateCallback?>?>(
    const jni$_.$JList$NullableType$<BatteryStateCallback?>(
      $BatteryStateCallback$NullableType$(),
    ),
  );
}