Intelligent Assistant
Chat with our virtual assistant to get answers promptly.
We use essential cookies for the website to function, as well as analytics cookies for analyzing and creating statistics of the website performance. To agree to the use of analytics cookies, click "Accept All". You can manage your preferences at any time by clicking "Cookie Settings" on the footer. More Information.
HUAWEI HMS Core
Documents from this version have been archived, and will not continue to be maintained. Please use the latest version.
| CLASS info |
| public final class PassStatus implements Parcelable |
| Sets the status of the current pass. |
| Type | Name | Desc |
| public static final Creator< PassStatus> CREATOR | CREATOR | Instantiates the static object to implement Parcelable.Creator. |
| Type | Name | Desc |
| class | PassStatus.Builder | Assigns the PassStatus value using the builder method. |
| Return type | Method 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. |
| Method |
public String getState() |
| Obtains the status of the current pass. |
Return
| Type | desc |
| String | Pass status. |
| Method |
public String getEffectTime() |
| Obtains the time when the current pass takes effect. |
Return
| Type | desc |
| String | Effective time. |
| Method |
public String getExpireTime() |
| Obtains the time when the current pass expires. |
Return
| Type | desc |
| String | Expiration time. |
| Method |
public static Builder getBuilder() |
| Instantiates PassStatus.Builder. |
Return
| Type | desc |
| String | Instantiated PassStatus.Builder. |
Intelligent Assistant
Chat with our virtual assistant to get answers promptly.
Quick start
Helps you find desired resources with ease.