target.apidocs.com.google.api.services.androidenterprise.AndroidEnterprise.Installs.html Maven / Gradle / Ivy
The newest version!
AndroidEnterprise.Installs (Google Play EMM API v1-rev20241113-2.0.0)
com.google.api.services.androidenterprise
Class AndroidEnterprise.Installs
- java.lang.Object
-
- com.google.api.services.androidenterprise.AndroidEnterprise.Installs
-
- Enclosing class:
- AndroidEnterprise
public class AndroidEnterprise.Installs
extends Object
The "installs" collection of methods.
-
-
Nested Class Summary
Nested Classes
Modifier and Type
Class and Description
class
AndroidEnterprise.Installs.Delete
class
AndroidEnterprise.Installs.Get
class
AndroidEnterprise.Installs.List
class
AndroidEnterprise.Installs.Update
-
Constructor Summary
Constructors
Constructor and Description
Installs()
-
Method Summary
All Methods Instance Methods Concrete Methods
Modifier and Type
Method and Description
AndroidEnterprise.Installs.Delete
delete(String enterpriseId,
String userId,
String deviceId,
String installId)
Requests to remove an app from a device.
AndroidEnterprise.Installs.Get
get(String enterpriseId,
String userId,
String deviceId,
String installId)
Retrieves details of an installation of an app on a device.
AndroidEnterprise.Installs.List
list(String enterpriseId,
String userId,
String deviceId)
Retrieves the details of all apps installed on the specified device.
AndroidEnterprise.Installs.Update
update(String enterpriseId,
String userId,
String deviceId,
String installId,
Install content)
Requests to install the latest version of an app to a device.
-
-
Method Detail
-
delete
public AndroidEnterprise.Installs.Delete delete(String enterpriseId,
String userId,
String deviceId,
String installId)
throws IOException
Requests to remove an app from a device. A call to get or list will still show the app as
installed on the device until it is actually removed. A successful response indicates that a
removal request has been sent to the device. The call will be considered successful even if the
app is not present on the device (e.g. it was never installed, or was removed by the user).
Create a request for the method "installs.delete".
This request holds the parameters needed by the androidenterprise server. After setting any
optional parameters, call the AbstractGoogleClientRequest.execute()
method to invoke the remote operation.
- Parameters:
enterpriseId
- The ID of the enterprise.
userId
- The ID of the user.
deviceId
- The Android ID of the device.
installId
- The ID of the product represented by the install, e.g. "app:com.google.android.gm".
- Returns:
- the request
- Throws:
IOException
-
get
public AndroidEnterprise.Installs.Get get(String enterpriseId,
String userId,
String deviceId,
String installId)
throws IOException
Retrieves details of an installation of an app on a device.
Create a request for the method "installs.get".
This request holds the parameters needed by the androidenterprise server. After setting any
optional parameters, call the AbstractGoogleClientRequest.execute()
method to invoke the remote operation.
- Parameters:
enterpriseId
- The ID of the enterprise.
userId
- The ID of the user.
deviceId
- The Android ID of the device.
installId
- The ID of the product represented by the install, e.g. "app:com.google.android.gm".
- Returns:
- the request
- Throws:
IOException
-
list
public AndroidEnterprise.Installs.List list(String enterpriseId,
String userId,
String deviceId)
throws IOException
Retrieves the details of all apps installed on the specified device.
Create a request for the method "installs.list".
This request holds the parameters needed by the androidenterprise server. After setting any
optional parameters, call the AbstractGoogleClientRequest.execute()
method to invoke the remote operation.
- Parameters:
enterpriseId
- The ID of the enterprise.
userId
- The ID of the user.
deviceId
- The Android ID of the device.
- Returns:
- the request
- Throws:
IOException
-
update
public AndroidEnterprise.Installs.Update update(String enterpriseId,
String userId,
String deviceId,
String installId,
Install content)
throws IOException
Requests to install the latest version of an app to a device. If the app is already installed,
then it is updated to the latest version if necessary.
Create a request for the method "installs.update".
This request holds the parameters needed by the androidenterprise server. After setting any
optional parameters, call the AbstractGoogleClientRequest.execute()
method to invoke the remote operation.
- Parameters:
enterpriseId
- The ID of the enterprise.
userId
- The ID of the user.
deviceId
- The Android ID of the device.
installId
- The ID of the product represented by the install, e.g. "app:com.google.android.gm".
content
- the Install
- Returns:
- the request
- Throws:
IOException
Copyright © 2011–2024 Google. All rights reserved.
© 2015 - 2024 Weber Informatics LLC | Privacy Policy