defaultApplicationScopes = $defaultApplicationScopes; } /** * @return string[] */ public function getDefaultApplicationScopes() { return $this->defaultApplicationScopes; } /** * Required. The app type to set the default application. * * Accepted values: DEFAULT_APPLICATION_TYPE_UNSPECIFIED, DEFAULT_ASSISTANT, * DEFAULT_BROWSER, DEFAULT_CALL_REDIRECTION, DEFAULT_CALL_SCREENING, * DEFAULT_DIALER, DEFAULT_HOME, DEFAULT_SMS, DEFAULT_WALLET * * @param self::DEFAULT_APPLICATION_TYPE_* $defaultApplicationType */ public function setDefaultApplicationType($defaultApplicationType) { $this->defaultApplicationType = $defaultApplicationType; } /** * @return self::DEFAULT_APPLICATION_TYPE_* */ public function getDefaultApplicationType() { return $this->defaultApplicationType; } /** * Required. The list of applications that can be set as the default app for a * given type. This list must not be empty or contain duplicates. The first * app in the list that is installed and qualified for the * defaultApplicationType (e.g. SMS app for DEFAULT_SMS) is set as the default * app. The signing key certificate fingerprint of the app on the device must * also match one of the signing key certificate fingerprints obtained from * Play Store or one of the entries in ApplicationPolicy.signingKeyCerts in * order to be set as the default.If the defaultApplicationScopes contains * SCOPE_FULLY_MANAGED or SCOPE_WORK_PROFILE, the app must have an entry in * applications with installType set to a value other than BLOCKED.A * NonComplianceDetail with APP_NOT_INSTALLED reason and * DEFAULT_APPLICATION_SETTING_FAILED_FOR_SCOPE specific reason is reported if * none of the apps in the list are installed. A NonComplianceDetail with * INVALID_VALUE reason and DEFAULT_APPLICATION_SETTING_FAILED_FOR_SCOPE * specific reason is reported if at least one app is installed but the policy * fails to apply due to other reasons (e.g. the app is not of the right * type).When applying to SCOPE_PERSONAL_PROFILE on a company-owned device * with a work profile, only pre-installed system apps can be set as the * default. A NonComplianceDetail with INVALID_VALUE reason and * DEFAULT_APPLICATION_SETTING_FAILED_FOR_SCOPE specific reason is reported if * the policy fails to apply to the personal profile. * * @param DefaultApplication[] $defaultApplications */ public function setDefaultApplications($defaultApplications) { $this->defaultApplications = $defaultApplications; } /** * @return DefaultApplication[] */ public function getDefaultApplications() { return $this->defaultApplications; } } // Adding a class alias for backwards compatibility with the previous class name. class_alias(DefaultApplicationSetting::class, 'Google_Service_AndroidManagement_DefaultApplicationSetting');