AppDistributionRelease

public interface AppDistributionRelease


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

Summary

Public methods

abstract @NonNullBinaryType

Returns the binary type for this build.

abstract @NonNullString

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

abstract @NullableString

Returns the release notes for this build.

abstract long

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

Extension functions

default final @NonNullBinaryType

Destructuring declaration for AppDistributionRelease to provide binaryType.

default final @NonNullBinaryType

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

default final @NonNullString

Destructuring declaration for AppDistributionRelease to provide displayVersion.

default final @NonNullString

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

default final long

Destructuring declaration for AppDistributionRelease to provide versionCode.

default final long

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

default final String

Destructuring declaration for AppDistributionRelease to provide releaseNotes.

default final String

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

Public methods

getBinaryType

abstract @NonNullBinaryType getBinaryType()

Returns the binary type for this build.

getDisplayVersion

abstract @NonNullString getDisplayVersion()

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

getReleaseNotes

abstract @NullableString getReleaseNotes()

Returns the release notes for this build.

getVersionCode

abstract long getVersionCode()

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

Extension functions

FirebaseAppDistributionKt.component1

default final @NonNullBinaryType FirebaseAppDistributionKt.component1(
    @NonNullAppDistributionRelease receiver
)

Destructuring declaration for AppDistributionRelease to provide binaryType.

Returns
@NonNullBinaryType

the binaryType of the AppDistributionRelease

FirebaseAppDistributionKt.component1

default final @NonNullBinaryType FirebaseAppDistributionKt.component1(
    @NonNullAppDistributionRelease receiver
)

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
@NonNullBinaryType

the binaryType of the AppDistributionRelease

FirebaseAppDistributionKt.component2

default final @NonNullString FirebaseAppDistributionKt.component2(
    @NonNullAppDistributionRelease receiver
)

Destructuring declaration for AppDistributionRelease to provide displayVersion.

Returns
@NonNullString

the displayVersion of the AppDistributionRelease

FirebaseAppDistributionKt.component2

default final @NonNullString FirebaseAppDistributionKt.component2(
    @NonNullAppDistributionRelease receiver
)

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
@NonNullString

the displayVersion of the AppDistributionRelease

FirebaseAppDistributionKt.component3

default final long FirebaseAppDistributionKt.component3(
    @NonNullAppDistributionRelease receiver
)

Destructuring declaration for AppDistributionRelease to provide versionCode.

Returns
long

the versionCode of the AppDistributionRelease

FirebaseAppDistributionKt.component3

default final long FirebaseAppDistributionKt.component3(
    @NonNullAppDistributionRelease receiver
)

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

FirebaseAppDistributionKt.component4

default final String FirebaseAppDistributionKt.component4(
    @NonNullAppDistributionRelease receiver
)

Destructuring declaration for AppDistributionRelease to provide releaseNotes.

Returns
String

the releaseNotes of the AppDistributionRelease

FirebaseAppDistributionKt.component4

default final String FirebaseAppDistributionKt.component4(
    @NonNullAppDistributionRelease receiver
)

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