startChatHeadService method

  1. @override
Future<bool> startChatHeadService()
override

Manually start chat head service (Android only) Useful after overlay permission is granted

Implementation

@override
Future<bool> startChatHeadService() async {
  try {
    return await methodChannel.invokeMethod('startChatHeadService') ?? false;
  } catch (e) {
    debugPrint('Error starting chat head service: $e');
    return false;
  }
}