Class AndroidWorkProfileGeneralDeviceConfiguration.Builder

    • Method Detail

      • passwordBlockFingerprintUnlock

        public AndroidWorkProfileGeneralDeviceConfiguration.Builder passwordBlockFingerprintUnlock​(Boolean passwordBlockFingerprintUnlock)
        “Indicates whether or not to block fingerprint unlock.”
        Parameters:
        passwordBlockFingerprintUnlock - value of passwordBlockFingerprintUnlock property (as defined in service metadata)
        Returns:
        this (for method chaining)
      • passwordBlockTrustAgents

        public AndroidWorkProfileGeneralDeviceConfiguration.Builder passwordBlockTrustAgents​(Boolean passwordBlockTrustAgents)
        “Indicates whether or not to block Smart Lock and other trust agents.”
        Parameters:
        passwordBlockTrustAgents - value of passwordBlockTrustAgents property (as defined in service metadata)
        Returns:
        this (for method chaining)
      • passwordExpirationDays

        public AndroidWorkProfileGeneralDeviceConfiguration.Builder passwordExpirationDays​(Integer passwordExpirationDays)
        “Number of days before the password expires. Valid values 1 to 365”
        Parameters:
        passwordExpirationDays - value of passwordExpirationDays property (as defined in service metadata)
        Returns:
        this (for method chaining)
      • passwordMinimumLength

        public AndroidWorkProfileGeneralDeviceConfiguration.Builder passwordMinimumLength​(Integer passwordMinimumLength)
        “Minimum length of passwords. Valid values 4 to 16”
        Parameters:
        passwordMinimumLength - value of passwordMinimumLength property (as defined in service metadata)
        Returns:
        this (for method chaining)
      • passwordMinutesOfInactivityBeforeScreenTimeout

        public AndroidWorkProfileGeneralDeviceConfiguration.Builder passwordMinutesOfInactivityBeforeScreenTimeout​(Integer passwordMinutesOfInactivityBeforeScreenTimeout)
        “Minutes of inactivity before the screen times out.”
        Parameters:
        passwordMinutesOfInactivityBeforeScreenTimeout - value of passwordMinutesOfInactivityBeforeScreenTimeout property (as defined in service metadata)
        Returns:
        this (for method chaining)
      • passwordPreviousPasswordBlockCount

        public AndroidWorkProfileGeneralDeviceConfiguration.Builder passwordPreviousPasswordBlockCount​(Integer passwordPreviousPasswordBlockCount)
        “Number of previous passwords to block. Valid values 0 to 24”
        Parameters:
        passwordPreviousPasswordBlockCount - value of passwordPreviousPasswordBlockCount property (as defined in service metadata)
        Returns:
        this (for method chaining)
      • passwordSignInFailureCountBeforeFactoryReset

        public AndroidWorkProfileGeneralDeviceConfiguration.Builder passwordSignInFailureCountBeforeFactoryReset​(Integer passwordSignInFailureCountBeforeFactoryReset)
        “Number of sign in failures allowed before factory reset. Valid values 1 to 16”
        Parameters:
        passwordSignInFailureCountBeforeFactoryReset - value of passwordSignInFailureCountBeforeFactoryReset property (as defined in service metadata)
        Returns:
        this (for method chaining)
      • securityRequireVerifyApps

        public AndroidWorkProfileGeneralDeviceConfiguration.Builder securityRequireVerifyApps​(Boolean securityRequireVerifyApps)
        “Require the Android Verify apps feature is turned on.”
        Parameters:
        securityRequireVerifyApps - value of securityRequireVerifyApps property (as defined in service metadata)
        Returns:
        this (for method chaining)
      • workProfileBlockAddingAccounts

        public AndroidWorkProfileGeneralDeviceConfiguration.Builder workProfileBlockAddingAccounts​(Boolean workProfileBlockAddingAccounts)
        “Block users from adding/removing accounts in work profile.”
        Parameters:
        workProfileBlockAddingAccounts - value of workProfileBlockAddingAccounts property (as defined in service metadata)
        Returns:
        this (for method chaining)
      • workProfileBlockCamera

        public AndroidWorkProfileGeneralDeviceConfiguration.Builder workProfileBlockCamera​(Boolean workProfileBlockCamera)
        “Block work profile camera.”
        Parameters:
        workProfileBlockCamera - value of workProfileBlockCamera property (as defined in service metadata)
        Returns:
        this (for method chaining)
      • workProfileBlockCrossProfileCallerId

        public AndroidWorkProfileGeneralDeviceConfiguration.Builder workProfileBlockCrossProfileCallerId​(Boolean workProfileBlockCrossProfileCallerId)
        “Block display work profile caller ID in personal profile.”
        Parameters:
        workProfileBlockCrossProfileCallerId - value of workProfileBlockCrossProfileCallerId property (as defined in service metadata)
        Returns:
        this (for method chaining)
      • workProfileBlockCrossProfileContactsSearch

        public AndroidWorkProfileGeneralDeviceConfiguration.Builder workProfileBlockCrossProfileContactsSearch​(Boolean workProfileBlockCrossProfileContactsSearch)
        “Block work profile contacts availability in personal profile.”
        Parameters:
        workProfileBlockCrossProfileContactsSearch - value of workProfileBlockCrossProfileContactsSearch property (as defined in service metadata)
        Returns:
        this (for method chaining)
      • workProfileBlockCrossProfileCopyPaste

        public AndroidWorkProfileGeneralDeviceConfiguration.Builder workProfileBlockCrossProfileCopyPaste​(Boolean workProfileBlockCrossProfileCopyPaste)
        “Boolean that indicates if the setting disallow cross profile copy/paste is enabled.”
        Parameters:
        workProfileBlockCrossProfileCopyPaste - value of workProfileBlockCrossProfileCopyPaste property (as defined in service metadata)
        Returns:
        this (for method chaining)
      • workProfileBlockNotificationsWhileDeviceLocked

        public AndroidWorkProfileGeneralDeviceConfiguration.Builder workProfileBlockNotificationsWhileDeviceLocked​(Boolean workProfileBlockNotificationsWhileDeviceLocked)
        “Indicates whether or not to block notifications while device locked.”
        Parameters:
        workProfileBlockNotificationsWhileDeviceLocked - value of workProfileBlockNotificationsWhileDeviceLocked property (as defined in service metadata)
        Returns:
        this (for method chaining)
      • workProfileBlockScreenCapture

        public AndroidWorkProfileGeneralDeviceConfiguration.Builder workProfileBlockScreenCapture​(Boolean workProfileBlockScreenCapture)
        “Block screen capture in work profile.”
        Parameters:
        workProfileBlockScreenCapture - value of workProfileBlockScreenCapture property (as defined in service metadata)
        Returns:
        this (for method chaining)
      • workProfileBluetoothEnableContactSharing

        public AndroidWorkProfileGeneralDeviceConfiguration.Builder workProfileBluetoothEnableContactSharing​(Boolean workProfileBluetoothEnableContactSharing)
        “Allow bluetooth devices to access enterprise contacts.”
        Parameters:
        workProfileBluetoothEnableContactSharing - value of workProfileBluetoothEnableContactSharing property (as defined in service metadata)
        Returns:
        this (for method chaining)
      • workProfilePasswordBlockFingerprintUnlock

        public AndroidWorkProfileGeneralDeviceConfiguration.Builder workProfilePasswordBlockFingerprintUnlock​(Boolean workProfilePasswordBlockFingerprintUnlock)
        “Indicates whether or not to block fingerprint unlock for work profile.”
        Parameters:
        workProfilePasswordBlockFingerprintUnlock - value of workProfilePasswordBlockFingerprintUnlock property (as defined in service metadata)
        Returns:
        this (for method chaining)
      • workProfilePasswordBlockTrustAgents

        public AndroidWorkProfileGeneralDeviceConfiguration.Builder workProfilePasswordBlockTrustAgents​(Boolean workProfilePasswordBlockTrustAgents)
        “Indicates whether or not to block Smart Lock and other trust agents for work profile.”
        Parameters:
        workProfilePasswordBlockTrustAgents - value of workProfilePasswordBlockTrustAgents property (as defined in service metadata)
        Returns:
        this (for method chaining)
      • workProfilePasswordExpirationDays

        public AndroidWorkProfileGeneralDeviceConfiguration.Builder workProfilePasswordExpirationDays​(Integer workProfilePasswordExpirationDays)
        “Number of days before the work profile password expires. Valid values 1 to 365”
        Parameters:
        workProfilePasswordExpirationDays - value of workProfilePasswordExpirationDays property (as defined in service metadata)
        Returns:
        this (for method chaining)
      • workProfilePasswordMinimumLength

        public AndroidWorkProfileGeneralDeviceConfiguration.Builder workProfilePasswordMinimumLength​(Integer workProfilePasswordMinimumLength)
        “Minimum length of work profile password. Valid values 4 to 16”
        Parameters:
        workProfilePasswordMinimumLength - value of workProfilePasswordMinimumLength property (as defined in service metadata)
        Returns:
        this (for method chaining)
      • workProfilePasswordMinLetterCharacters

        public AndroidWorkProfileGeneralDeviceConfiguration.Builder workProfilePasswordMinLetterCharacters​(Integer workProfilePasswordMinLetterCharacters)
        “Minimum # of letter characters required in work profile password. Valid values 1 to 10”
        Parameters:
        workProfilePasswordMinLetterCharacters - value of workProfilePasswordMinLetterCharacters property (as defined in service metadata)
        Returns:
        this (for method chaining)
      • workProfilePasswordMinLowerCaseCharacters

        public AndroidWorkProfileGeneralDeviceConfiguration.Builder workProfilePasswordMinLowerCaseCharacters​(Integer workProfilePasswordMinLowerCaseCharacters)
        “Minimum # of lower-case characters required in work profile password. Valid values 1 to 10”
        Parameters:
        workProfilePasswordMinLowerCaseCharacters - value of workProfilePasswordMinLowerCaseCharacters property (as defined in service metadata)
        Returns:
        this (for method chaining)
      • workProfilePasswordMinNonLetterCharacters

        public AndroidWorkProfileGeneralDeviceConfiguration.Builder workProfilePasswordMinNonLetterCharacters​(Integer workProfilePasswordMinNonLetterCharacters)
        “Minimum # of non-letter characters required in work profile password. Valid values 1 to 10”
        Parameters:
        workProfilePasswordMinNonLetterCharacters - value of workProfilePasswordMinNonLetterCharacters property (as defined in service metadata)
        Returns:
        this (for method chaining)
      • workProfilePasswordMinNumericCharacters

        public AndroidWorkProfileGeneralDeviceConfiguration.Builder workProfilePasswordMinNumericCharacters​(Integer workProfilePasswordMinNumericCharacters)
        “Minimum # of numeric characters required in work profile password. Valid values 1 to 10”
        Parameters:
        workProfilePasswordMinNumericCharacters - value of workProfilePasswordMinNumericCharacters property (as defined in service metadata)
        Returns:
        this (for method chaining)
      • workProfilePasswordMinSymbolCharacters

        public AndroidWorkProfileGeneralDeviceConfiguration.Builder workProfilePasswordMinSymbolCharacters​(Integer workProfilePasswordMinSymbolCharacters)
        “Minimum # of symbols required in work profile password. Valid values 1 to 10”
        Parameters:
        workProfilePasswordMinSymbolCharacters - value of workProfilePasswordMinSymbolCharacters property (as defined in service metadata)
        Returns:
        this (for method chaining)
      • workProfilePasswordMinUpperCaseCharacters

        public AndroidWorkProfileGeneralDeviceConfiguration.Builder workProfilePasswordMinUpperCaseCharacters​(Integer workProfilePasswordMinUpperCaseCharacters)
        “Minimum # of upper-case characters required in work profile password. Valid values 1 to 10”
        Parameters:
        workProfilePasswordMinUpperCaseCharacters - value of workProfilePasswordMinUpperCaseCharacters property (as defined in service metadata)
        Returns:
        this (for method chaining)
      • workProfilePasswordMinutesOfInactivityBeforeScreenTimeout

        public AndroidWorkProfileGeneralDeviceConfiguration.Builder workProfilePasswordMinutesOfInactivityBeforeScreenTimeout​(Integer workProfilePasswordMinutesOfInactivityBeforeScreenTimeout)
        “Minutes of inactivity before the screen times out.”
        Parameters:
        workProfilePasswordMinutesOfInactivityBeforeScreenTimeout - value of workProfilePasswordMinutesOfInactivityBeforeScreenTimeout property (as defined in service metadata)
        Returns:
        this (for method chaining)
      • workProfilePasswordPreviousPasswordBlockCount

        public AndroidWorkProfileGeneralDeviceConfiguration.Builder workProfilePasswordPreviousPasswordBlockCount​(Integer workProfilePasswordPreviousPasswordBlockCount)
        “Number of previous work profile passwords to block. Valid values 0 to 24”
        Parameters:
        workProfilePasswordPreviousPasswordBlockCount - value of workProfilePasswordPreviousPasswordBlockCount property (as defined in service metadata)
        Returns:
        this (for method chaining)
      • workProfilePasswordSignInFailureCountBeforeFactoryReset

        public AndroidWorkProfileGeneralDeviceConfiguration.Builder workProfilePasswordSignInFailureCountBeforeFactoryReset​(Integer workProfilePasswordSignInFailureCountBeforeFactoryReset)
        “Number of sign in failures allowed before work profile is removed and all corporate data deleted. Valid values 1 to 16”
        Parameters:
        workProfilePasswordSignInFailureCountBeforeFactoryReset - value of workProfilePasswordSignInFailureCountBeforeFactoryReset property (as defined in service metadata)
        Returns:
        this (for method chaining)
      • workProfileRequirePassword

        public AndroidWorkProfileGeneralDeviceConfiguration.Builder workProfileRequirePassword​(Boolean workProfileRequirePassword)
        “Password is required or not for work profile”
        Parameters:
        workProfileRequirePassword - value of workProfileRequirePassword property (as defined in service metadata)
        Returns:
        this (for method chaining)