public static class DesktopDevicePolicy.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
DesktopDevicePolicy.Builder |
audioMode(DesktopDevicePolicy.AudioMode audioMode)
The audio mode.
|
DesktopDevicePolicy |
build() |
DesktopDevicePolicy.Builder |
cdmMode(DesktopDevicePolicy.CdmMode cdmMode)
The client local drive access mode.
|
DesktopDevicePolicy.Builder |
clipboardMode(DesktopDevicePolicy.ClipboardMode clipboardMode)
The clipboard mode.
|
DesktopDevicePolicy.Builder |
copy(DesktopDevicePolicy model) |
DesktopDevicePolicy.Builder |
isDisplayEnabled(Boolean isDisplayEnabled)
Indicates whether the display is enabled.
|
DesktopDevicePolicy.Builder |
isKeyboardEnabled(Boolean isKeyboardEnabled)
Indicates whether the keyboard is enabled.
|
DesktopDevicePolicy.Builder |
isPointerEnabled(Boolean isPointerEnabled)
Indicates whether the pointer is enabled.
|
DesktopDevicePolicy.Builder |
isPrintingEnabled(Boolean isPrintingEnabled)
Indicates whether printing is enabled.
|
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.
clipboardMode
- the value to setpublic 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.
audioMode
- the value to setpublic 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.
cdmMode
- the value to setpublic DesktopDevicePolicy.Builder isPrintingEnabled(Boolean isPrintingEnabled)
Indicates whether printing is enabled.
isPrintingEnabled
- the value to setpublic DesktopDevicePolicy.Builder isPointerEnabled(Boolean isPointerEnabled)
Indicates whether the pointer is enabled.
isPointerEnabled
- the value to setpublic DesktopDevicePolicy.Builder isKeyboardEnabled(Boolean isKeyboardEnabled)
Indicates whether the keyboard is enabled.
isKeyboardEnabled
- the value to setpublic DesktopDevicePolicy.Builder isDisplayEnabled(Boolean isDisplayEnabled)
Indicates whether the display is enabled.
isDisplayEnabled
- the value to setpublic DesktopDevicePolicy build()
public DesktopDevicePolicy.Builder copy(DesktopDevicePolicy model)
Copyright © 2016–2024. All rights reserved.