LocalCommandClient

public interface LocalCommandClient


İstemcinin yerel komutlarla ilgili isteklerde bulunması.

Cihazdaki Android Management API istemci uygulamasıyla iletişim kuran bir örnek oluşturmak için LocalCommandClientFactory kullanın.

Özet

İç içe yerleştirilmiş türler

InstallCustomApp komutu için yardımcı programlar sağlar.

Herkese açık yöntemler

abstract @NonNull ListenableFuture<@NonNull Command>

Daha önce tetiklenmesi istenen bir komutun durumuyla ilgili istekler.

abstract @NonNull Command

Daha önce tetiklenmesi istenen bir komutun durumuyla ilgili istekler.

abstract @NonNull LocalCommandClient.InstallCustomAppCommandHelper

Özel APK'ların depolama dizinini almak için kullanılabilecek bir InstallCustomAppCommandHelper örneği döndürür.

abstract @NonNull ListenableFuture<@NonNull Command>

Android Device Management API tarafından bir komutun yürütülmesini ister.

abstract @NonNull Command

Android Device Management API tarafından bir komutun yürütülmesini ister.

Herkese açık yöntemler

getCommand

abstract @NonNull ListenableFuture<@NonNull CommandgetCommand(@NonNull GetCommandRequest request)

Daha önce tetiklenmesi istenen bir komutun durumuyla ilgili istekler.

İadeler
@NonNull ListenableFuture<@NonNull Command>

Komut planlandıysa komutun durumunu gösteren ListenableFuture.

getCommandAwait

abstract @NonNull Command getCommandAwait(@NonNull GetCommandRequest request)

Daha önce tetiklenmesi istenen bir komutun durumuyla ilgili istekler.

İadeler
@NonNull Command

Komutun planlanmış olması durumunda komut durumu.

Battaniyeler
com.google.android.managementapi.commands.CommandException

İstek başarısız olduysa.

getInstallCustomAppCommandHelper

abstract @NonNull LocalCommandClient.InstallCustomAppCommandHelper getInstallCustomAppCommandHelper()

Özel APK'ların depolama dizinini almak için kullanılabilecek bir InstallCustomAppCommandHelper örneği döndürür.

issueCommand

abstract @NonNull ListenableFuture<@NonNull CommandissueCommand(@NonNull IssueCommandRequest request)

Android Device Management API tarafından bir komutun yürütülmesini ister.

İadeler
@NonNull ListenableFuture<@NonNull Command>

Planlandıysa Command öğesini temsil eden ListenableFuture. İstek başarısız olursa başarısız ListenableFuture döndürür.

issueCommandAwait

abstract @NonNull Command issueCommandAwait(@NonNull IssueCommandRequest request)

Android Device Management API tarafından bir komutun yürütülmesini ister.

İadeler
@NonNull Command

planlandıysa Command

Battaniyeler
com.google.android.managementapi.commands.CommandException

İstek başarısız olduysa.