StandardIntegrityManager.StandardIntegrityTokenProvider

public static interface StandardIntegrityManager.StandardIntegrityTokenProvider

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


Standardowy dostawca tokenów 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.

Można to zrobić dopiero po zakończeniu operacji StandardIntegrityManager.prepareIntegrityToken(PrepareIntegrityTokenRequest).

Parametry
request StandardIntegrityManager.StandardIntegrityTokenRequest: obiekt, którego dotyczy żądanie tokena integralności.

Zwroty
Task<StandardIntegrityManager.StandardIntegrityToken> Task, który kończy się po zrealizowaniu lub niepowodzeniu przepływu żądania. W przypadku niepowodzenia wywoływany jest kod StandardIntegrityException z wywołaniem Task.