目录

CLASS info
public final class PassStatus implements Parcelable
Sets the status of the current pass.

Field Summary

TypeNameDesc
public static final Creator< PassStatus> CREATORCREATOR

Instantiates the static object to implement

Parcelable.Creator.

Nested Class Summary

TypeNameDesc
classPassStatus.BuilderAssigns the PassStatus value using the builder method.

Public Method Summary

Return typeMethod name
String

getState()

Obtains the status of the current pass. Options:WalletPassConstant. PASS_STATE_COMPLETED;WalletPassConstant. PASS_STATE_EXPIRED;WalletPassConstant. PASS_STATE_INACTIVE;WalletPassConstant. PASS_STATE_ACTIVE;

String

getEffectTime()

Obtains the time when the pass takes effect, in UTC format:yyyy-MM-ddTHH:mm:ss.SSSZ

String

getExpireTime()

Obtains the time when the pass expires, in UTC format:yyyy-MM-ddTHH:mm:ss.SSSZ

PassStatus.Builder

getBuilder()

Instantiates PassStatus.Builder.

Public Method

Method

public String getState()

Obtains the status of the current pass.

Return

Typedesc
StringPass status.
Method

public String getEffectTime()

Obtains the time when the current pass takes effect.

Return

Typedesc
StringEffective time.
Method

public String getExpireTime()

Obtains the time when the current pass expires.

Return

Typedesc
StringExpiration time.
Method

public static Builder getBuilder()

Instantiates PassStatus.Builder.

Return

Typedesc
StringInstantiated PassStatus.Builder.