Class DesktopDevicePolicy.Builder

    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • clipboardMode

        public DesktopDevicePolicy.Builder clipboardMode​(DesktopDevicePolicy.ClipboardMode clipboardMode)
        The clipboard mode.

        NONE: No access to the local clipboard is permitted. TODESKTOP: The clipboard can be used to transfer data to the desktop only. FROMDESKTOP: The clipboard can be used to transfer data from the desktop only. FULL: The clipboard can be used to transfer data to and from the desktop.

        Parameters:
        clipboardMode - the value to set
        Returns:
        this builder
      • audioMode

        public DesktopDevicePolicy.Builder audioMode​(DesktopDevicePolicy.AudioMode audioMode)
        The audio mode.

        NONE: No access to the local audio devices is permitted. TODESKTOP: The user may record audio on their desktop. FROMDESKTOP: The user may play audio on their desktop. FULL: The user may play and record audio on their desktop.

        Parameters:
        audioMode - the value to set
        Returns:
        this builder
      • cdmMode

        public DesktopDevicePolicy.Builder cdmMode​(DesktopDevicePolicy.CdmMode cdmMode)
        The client local drive access mode.

        NONE: No access to local drives permitted. READONLY: The user may read from local drives on their desktop. FULL: The user may read from and write to their local drives on their desktop.

        Parameters:
        cdmMode - the value to set
        Returns:
        this builder
      • isPrintingEnabled

        public DesktopDevicePolicy.Builder isPrintingEnabled​(Boolean isPrintingEnabled)
        Indicates whether printing is enabled.
        Parameters:
        isPrintingEnabled - the value to set
        Returns:
        this builder
      • isPointerEnabled

        public DesktopDevicePolicy.Builder isPointerEnabled​(Boolean isPointerEnabled)
        Indicates whether the pointer is enabled.
        Parameters:
        isPointerEnabled - the value to set
        Returns:
        this builder
      • isKeyboardEnabled

        public DesktopDevicePolicy.Builder isKeyboardEnabled​(Boolean isKeyboardEnabled)
        Indicates whether the keyboard is enabled.
        Parameters:
        isKeyboardEnabled - the value to set
        Returns:
        this builder
      • isDisplayEnabled

        public DesktopDevicePolicy.Builder isDisplayEnabled​(Boolean isDisplayEnabled)
        Indicates whether the display is enabled.
        Parameters:
        isDisplayEnabled - the value to set
        Returns:
        this builder