DownloadRequest.ByteRange


public final class DownloadRequest.ByteRange implements Parcelable


Defines the byte range.

Summary

Public fields

final long

The length of the byte range.

final long

The offset of the byte range.

Public methods

int
boolean
int
void
writeToParcel(Parcel dest, int flags)

Inherited Constants

From android.os.Parcelable
static final int
static final int

Constants

CREATOR

public static final Parcelable.Creator<DownloadRequest.ByteRangeCREATOR

Public fields

length

public final long length

The length of the byte range.

offset

public final long offset

The offset of the byte range.

Public methods

describeContents

public int describeContents()

equals

public boolean equals(@Nullable Object o)

hashCode

public int hashCode()

writeToParcel

public void writeToParcel(Parcel dest, int flags)