IssueCommandRequest.Wipe

abstract class IssueCommandRequest.Wipe


Wipes the device or work profile locally.

The calling app must have the COMPANION_APP role with the LOCAL_DEVICE_WIPE_COMMAND_ALLOWED extra capability, which the IT admin grants through the roles of the app in the device policy. Otherwise, the request fails.

Summary

Nested types

Builder for IssueCommandRequest.Wipe.

Flags used to control data wiping behavior when the device or work profile is wiped.

Public functions

java-static IssueCommandRequest.Wipe.Builder!
java-static IssueCommandRequest.Wipe!
abstract ImmutableList<IssueCommandRequest.Wipe.WipeDataFlag!>!

Flags to determine what data to wipe.

abstract String!

A short message displayed to the user before wiping the work profile on personal devices.

abstract IssueCommandRequest.Wipe.Builder!

Public functions

builder

java-static fun builder(): IssueCommandRequest.Wipe.Builder!

getDefaultInstance

java-static fun getDefaultInstance(): IssueCommandRequest.Wipe!

getWipeDataFlags

abstract fun getWipeDataFlags(): ImmutableList<IssueCommandRequest.Wipe.WipeDataFlag!>!

Flags to determine what data to wipe.

getWipeReason

abstract fun getWipeReason(): String!

A short message displayed to the user before wiping the work profile on personal devices. This has no effect on company owned devices. The maximum message length is 200 characters.

toBuilder

abstract fun toBuilder(): IssueCommandRequest.Wipe.Builder!