AppDistributionRelease

interface AppDistributionRelease


The release information returned by checkForNewRelease when a new version is available for the signed in tester.

Summary

Public functions

BinaryType

Returns the binary type for this build.

String

Returns the short bundle version of this build (example: 1.0.0).

String?

Returns the release notes for this build.

Long

Returns the version code of this build (example: 123).

Extension functions

operator BinaryType

Destructuring declaration for AppDistributionRelease to provide binaryType.

operator BinaryType

This function is deprecated. Migrate to use the KTX API from the main module: https://firebase.google.com/docs/android/kotlin-migration.

operator String

Destructuring declaration for AppDistributionRelease to provide displayVersion.

operator String

This function is deprecated. Migrate to use the KTX API from the main module: https://firebase.google.com/docs/android/kotlin-migration.

operator Long

Destructuring declaration for AppDistributionRelease to provide versionCode.

operator Long

This function is deprecated. Migrate to use the KTX API from the main module: https://firebase.google.com/docs/android/kotlin-migration.

operator String?

Destructuring declaration for AppDistributionRelease to provide releaseNotes.

operator String?

This function is deprecated. Migrate to use the KTX API from the main module: https://firebase.google.com/docs/android/kotlin-migration.

Public functions

getBinaryType

fun getBinaryType(): BinaryType

Returns the binary type for this build.

getDisplayVersion

fun getDisplayVersion(): String

Returns the short bundle version of this build (example: 1.0.0).

getReleaseNotes

fun getReleaseNotes(): String?

Returns the release notes for this build.

getVersionCode

fun getVersionCode(): Long

Returns the version code of this build (example: 123).

Extension functions

component1

operator fun AppDistributionRelease.component1(): BinaryType

Destructuring declaration for AppDistributionRelease to provide binaryType.

Returns
BinaryType

the binaryType of the AppDistributionRelease

component1

operator fun AppDistributionRelease.component1(): BinaryType

Destructuring declaration for AppDistributionRelease to provide binaryType.

Deprecation Notice: The Kotlin extensions (KTX) APIs have been added to their respective main modules, and the Kotlin extension (KTX) APIs in com.google.firebase:firebase-appdistribution-api-ktx are now deprecated. As early as April 2024, we'll no longer release KTX modules. For details, see the FAQ about this initiative.

Returns
BinaryType

the binaryType of the AppDistributionRelease

component2

operator fun AppDistributionRelease.component2(): String

Destructuring declaration for AppDistributionRelease to provide displayVersion.

Returns
String

the displayVersion of the AppDistributionRelease

component2

operator fun AppDistributionRelease.component2(): String

Destructuring declaration for AppDistributionRelease to provide displayVersion.

Deprecation Notice: The Kotlin extensions (KTX) APIs have been added to their respective main modules, and the Kotlin extension (KTX) APIs in com.google.firebase:firebase-appdistribution-api-ktx are now deprecated. As early as April 2024, we'll no longer release KTX modules. For details, see the FAQ about this initiative.

Returns
String

the displayVersion of the AppDistributionRelease

component3

operator fun AppDistributionRelease.component3(): Long

Destructuring declaration for AppDistributionRelease to provide versionCode.

Returns
Long

the versionCode of the AppDistributionRelease

component3

operator fun AppDistributionRelease.component3(): Long

Destructuring declaration for AppDistributionRelease to provide versionCode.

Deprecation Notice: The Kotlin extensions (KTX) APIs have been added to their respective main modules, and the Kotlin extension (KTX) APIs in com.google.firebase:firebase-appdistribution-api-ktx are now deprecated. As early as April 2024, we'll no longer release KTX modules. For details, see the FAQ about this initiative.

Returns
Long

the versionCode of the AppDistributionRelease

component4

operator fun AppDistributionRelease.component4(): String?

Destructuring declaration for AppDistributionRelease to provide releaseNotes.

Returns
String?

the releaseNotes of the AppDistributionRelease

component4

operator fun AppDistributionRelease.component4(): String?

Destructuring declaration for AppDistributionRelease to provide releaseNotes.

Deprecation Notice: The Kotlin extensions (KTX) APIs have been added to their respective main modules, and the Kotlin extension (KTX) APIs in com.google.firebase:firebase-appdistribution-api-ktx are now deprecated. As early as April 2024, we'll no longer release KTX modules. For details, see the FAQ about this initiative.

Returns
String?

the releaseNotes of the AppDistributionRelease