| Package | Description |
|---|---|
| com.google.api.services.androidenterprise | |
| com.google.api.services.androidenterprise.model |
| Modifier and Type | Method and Description |
|---|---|
AndroidEnterprise.EnrollmentTokens.Create |
AndroidEnterprise.EnrollmentTokens.create(String enterpriseId,
EnrollmentToken content)
Returns a token for device enrollment.
|
| Constructor and Description |
|---|
Create(String enterpriseId,
EnrollmentToken content)
Returns a token for device enrollment.
|
| Modifier and Type | Method and Description |
|---|---|
EnrollmentToken |
EnrollmentToken.clone() |
EnrollmentToken |
EnrollmentToken.set(String fieldName,
Object value) |
EnrollmentToken |
EnrollmentToken.setDuration(String duration)
[Optional] The length of time the enrollment token is valid, ranging from 1 minute to
[`Durations.MAX_VALUE`](https://developers.google.com/protocol-
buffers/docs/reference/java/com/google/protobuf/util/Durations.html#MAX_VALUE), approximately
10,000 years.
|
EnrollmentToken |
EnrollmentToken.setEnrollmentTokenType(String enrollmentTokenType)
[Required] The type of the enrollment token.
|
EnrollmentToken |
EnrollmentToken.setGoogleAuthenticationOptions(EnrollmentTokenGoogleAuthenticationOptions googleAuthenticationOptions)
[Optional] Provides options related to Google authentication during the enrollment.
|
EnrollmentToken |
EnrollmentToken.setToken(String token)
The token value that's passed to the device and authorizes the device to enroll.
|
Copyright © 2011–2025 Google. All rights reserved.