answerPhoneCalls constant

AndroidPermissionDef const answerPhoneCalls

android.permission.ANSWER_PHONE_CALLS

Required to answer incoming phone calls programmatically. Runtime permission: true Since SDK: 26 Group: phone Associated service: phone Legacy mapping: READ_PHONE_STATE (level 25)

Implementation

static const answerPhoneCalls = AndroidPermissionDef(
  'android.permission.ANSWER_PHONE_CALLS',
  sinceSDK: 26,
  runtime: true,
  group: 'phone',
  service: AssociatedService.phone,
  keywords: {'answer', 'incoming', 'call'},
  legacyKeys: {'android.permission.READ_PHONE_STATE': 25},
  docNotes: {'Required to answer incoming phone calls programmatically'},
);