public final class EphemeralResolveInfo extends Object implements Parcelable
Modifier and Type | Class and Description |
---|---|
static class |
EphemeralResolveInfo.EphemeralDigest
Helper class to generate and store each of the digests and prefixes
sent to the Ephemeral Resolver.
|
static class |
EphemeralResolveInfo.EphemeralResolveIntentInfo |
Parcelable.ClassLoaderCreator<T>, Parcelable.Creator<T>
Modifier and Type | Field and Description |
---|---|
static Parcelable.Creator<EphemeralResolveInfo> |
CREATOR |
static String |
SHA_ALGORITHM
Algorithm that will be used to generate the domain digest
|
CONTENTS_FILE_DESCRIPTOR, PARCELABLE_ELIDE_DUPLICATES, PARCELABLE_WRITE_RETURN_VALUE
Constructor and Description |
---|
EphemeralResolveInfo(Uri uri,
String packageName,
List<IntentFilter> filters) |
Modifier and Type | Method and Description |
---|---|
int |
describeContents()
Describe the kinds of special objects contained in this Parcelable
instance's marshaled representation.
|
byte[] |
getDigestBytes() |
int |
getDigestPrefix() |
List<IntentFilter> |
getFilters() |
String |
getPackageName() |
void |
writeToParcel(Parcel out,
int flags)
Flatten this object in to a Parcel.
|
public static final String SHA_ALGORITHM
public static final Parcelable.Creator<EphemeralResolveInfo> CREATOR
public EphemeralResolveInfo(Uri uri, String packageName, List<IntentFilter> filters)
public byte[] getDigestBytes()
public int getDigestPrefix()
public String getPackageName()
public List<IntentFilter> getFilters()
public int describeContents()
Parcelable
Parcelable.writeToParcel(Parcel, int)
,
the return value of this method must include the
Parcelable.CONTENTS_FILE_DESCRIPTOR
bit.describeContents
in interface Parcelable
Parcelable.CONTENTS_FILE_DESCRIPTOR
public void writeToParcel(Parcel out, int flags)
Parcelable
writeToParcel
in interface Parcelable
out
- The Parcel in which the object should be written.flags
- Additional flags about how the object should be written.
May be 0 or Parcelable.PARCELABLE_WRITE_RETURN_VALUE
.