startForegroundService method

ComponentName? startForegroundService(
  1. Intent? intent
)

from: public abstract android.content.ComponentName startForegroundService(android.content.Intent intent) The returned object must be released after use, by calling the release method.

Implementation

ComponentName? startForegroundService(
  Intent? intent,
) {
  final _$$selfRef = reference;
  final _$intent = intent?.reference ?? jni$_.jNullReference;
  return _startForegroundService(
    _$$selfRef.pointer,
    _id_startForegroundService.pointer,
    _$intent.pointer,
  ).object<ComponentName?>();
}