selectAndConfigureIosAppRestrictions method

  1. @override
Future<void> selectAndConfigureIosAppRestrictions({
  1. Map<String, dynamic>? schedule,
})
override

Opens iOS app/category picker and applies current restrictions.

schedule supports keys: startHour, startMinute, endHour, endMinute, repeats, thresholdMinutes.

Implementation

@override
Future<void> selectAndConfigureIosAppRestrictions({
  Map<String, dynamic>? schedule,
}) async {
  await methodChannel.invokeMethod<void>(
    'selectAndConfigureIosAppRestrictions',
    {'schedule': schedule},
  );
}