This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
dependencies { | |
... | |
implementation 'com.google.android.play:feature-delivery:2.0.0' | |
// Kotlin users may also add the Kotlin extensions library | |
implementation 'com.google.android.play:feature-delivery-ktx:2.0.0' | |
... | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
dependencies { | |
... | |
implementation 'com.google.android.play:review:2.0.0' | |
// Kotlin users may also add the Kotlin extensions | |
implementation 'com.google.android.play:review-ktx:2.0.0' | |
... | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
dependencies { | |
... | |
implementation 'com.google.android.play:app-update:2.0.0' | |
// Kotlin users may also add the Kotlin extensions library | |
implementation 'com.google.android.play:app-update-ktx:2.0.0' | |
... | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
dependencies { | |
... | |
implementation 'com.google.android.play:core-common:2.0.0' | |
... | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public enum MixhaloError { | |
/** | |
* Problem: Mixhalo was unable to login to the backend server. | |
* Solution: Check credentials. | |
*/ | |
FAILED_AUTHENTICATION("Authentication failed", 1000400), | |
/** | |
* Problem: Failed to fetch venue list due to the required location services being disabled. | |
* Solution: Turn on location services for the device. | |
*/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public interface MixhaloError { | |
String getMessage(); | |
int getErrorCode(); | |
} | |
public enum ConnectionError implements MixhaloError { | |
INVALID_WIFI_STATE("", 1000101), | |
INVALID_CELLULAR_STATE("", 1000102), | |
INVALID_VENUE_ID("", 1000300), | |
INVALID_VENUE_PASSCODE("", 1000301), |
OlderNewer