HlsRedundantGroup.GroupKey


public class HlsRedundantGroup.GroupKey


Defines a key that groups variants or renditions into one HlsRedundantGroup.

Summary

Public fields

final Format

The Format shared by the grouped variants or the grouped renditions.

final @Nullable String

The name of the grouped renditions.

final @Nullable String

The stable identifier shared by variants or renditions, or null.

Public constructors

GroupKey(Format format, @Nullable String stableId)

Creates a GroupKey.

GroupKey(Format format, @Nullable String stableId, @Nullable String name)

Creates a GroupKey.

Public methods

boolean
int

Public fields

format

public final Format format

The Format shared by the grouped variants or the grouped renditions.

name

public final @Nullable String name

The name of the grouped renditions. This can be null if unknown or the GroupKey groups variants.

stableId

public final @Nullable String stableId

The stable identifier shared by variants or renditions, or null.

If the GroupKey groups variants, then this field is the stableVariantId of the variants; If the GroupKey groups renditions, then this field is the stableRenditionId of the renditions.

Public constructors

GroupKey

public GroupKey(Format format, @Nullable String stableId)

Creates a GroupKey.

Parameters
Format format

See format.

@Nullable String stableId

See stableId.

GroupKey

public GroupKey(Format format, @Nullable String stableId, @Nullable String name)

Creates a GroupKey.

Parameters
Format format

See format.

@Nullable String stableId

See stableId.

@Nullable String name

See name.

Public methods

equals

public boolean equals(@Nullable Object other)

hashCode

public int hashCode()