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 @NonNull BinaryType

Returns the binary type for this build.

abstract @NonNull String

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

abstract @Nullable String

Returns the release notes for this build.

abstract long

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

Extension functions

default final @NonNull BinaryType

Destructuring declaration for AppDistributionRelease to provide binaryType.

default final @NonNull BinaryType

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

default final @NonNull String

Destructuring declaration for AppDistributionRelease to provide displayVersion.

default final @NonNull String

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 @NonNull BinaryType getBinaryType()

Returns the binary type for this build.

getDisplayVersion

abstract @NonNull String getDisplayVersion()

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

getReleaseNotes

abstract @Nullable String 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 @NonNull BinaryType FirebaseAppDistributionKt.component1(
    @NonNull AppDistributionRelease receiver
)

Destructuring declaration for AppDistributionRelease to provide binaryType.

Returns
@NonNull BinaryType

the binaryType of the AppDistributionRelease

FirebaseAppDistributionKt.component1

default final @NonNull BinaryType FirebaseAppDistributionKt.component1(
    @NonNull AppDistributionRelease 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
@NonNull BinaryType

the binaryType of the AppDistributionRelease

FirebaseAppDistributionKt.component2

default final @NonNull String FirebaseAppDistributionKt.component2(
    @NonNull AppDistributionRelease receiver
)

Destructuring declaration for AppDistributionRelease to provide displayVersion.

Returns
@NonNull String

the displayVersion of the AppDistributionRelease

FirebaseAppDistributionKt.component2

default final @NonNull String FirebaseAppDistributionKt.component2(
    @NonNull AppDistributionRelease 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
@NonNull String

the displayVersion of the AppDistributionRelease

FirebaseAppDistributionKt.component3

default final long FirebaseAppDistributionKt.component3(
    @NonNull AppDistributionRelease receiver
)

Destructuring declaration for AppDistributionRelease to provide versionCode.

Returns
long

the versionCode of the AppDistributionRelease

FirebaseAppDistributionKt.component3

default final long FirebaseAppDistributionKt.component3(
    @NonNull AppDistributionRelease 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(
    @NonNull AppDistributionRelease receiver
)

Destructuring declaration for AppDistributionRelease to provide releaseNotes.

Returns
String

the releaseNotes of the AppDistributionRelease

FirebaseAppDistributionKt.component4

default final String FirebaseAppDistributionKt.component4(
    @NonNull AppDistributionRelease 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