StandardIntegrityManager.StandardIntegrityTokenProvider

public static interface StandardIntegrityManager.StandardIntegrityTokenProvider

com.google.android.play.core.integrity.StandardIntegrityManager.StandardIntegrityTokenProvider,


Dostawca standardowego tokena integralności.

Instancja jest powiązana z wywołaniem StandardIntegrityManager.prepareIntegrityToken(PrepareIntegrityTokenRequest).

Podsumowanie

Metody publiczne

abstract Task<StandardIntegrityManager.StandardIntegrityToken> request(StandardIntegrityManager.StandardIntegrityTokenRequest request)

Zwraca token zapytań dotyczących integralności.

Metody publiczne

Poproś

public abstract Task<StandardIntegrityManager.StandardIntegrityToken> request (StandardIntegrityManager.StandardIntegrityTokenRequest request)

Zwraca token zapytań dotyczących integralności.

Tę funkcję należy wywołać dopiero po zakończeniu StandardIntegrityManager.prepareIntegrityToken(PrepareIntegrityTokenRequest).

Parametry
request StandardIntegrityManager.StandardIntegrityTokenRequest: obiekt, za pomocą którego chcesz zażądać tokena integralności.

Zwroty
Task<StandardIntegrityManager.StandardIntegrityToken> Task, który kończy się w przypadku pomyślnego lub nieudanego przepływu żądania. W przypadku niepowodzenie, zostanie zgłoszone StandardIntegrityException opakowane z użyciem Task.