FileDocCategorySizeDatePackage
KeySet.javaAPI DocAndroid 5.1 API2645Thu Mar 12 22:22:10 GMT 2015android.content.pm

KeySet

public class KeySet extends Object implements android.os.Parcelable
Represents a {@code KeySet} that has been declared in the AndroidManifest.xml file for the application. A {@code KeySet} can be used explicitly to represent a trust relationship with other applications on the device.
hide

Fields Summary
private android.os.IBinder
token
public static final Parcelable.Creator
CREATOR
Implement Parcelable
Constructors Summary
public KeySet(android.os.IBinder token)

hide

        if (token == null) {
            throw new NullPointerException("null value for KeySet IBinder token");
        }
        this.token = token;
    
Methods Summary
public intdescribeContents()

hide

        return 0;
    
public booleanequals(java.lang.Object o)

hide

        if (o instanceof KeySet) {
            KeySet ks = (KeySet) o;
            return token == ks.token;
        }
        return false;
    
public android.os.IBindergetToken()

hide

        return token;
    
public inthashCode()

hide

        return token.hashCode();
    
private static android.content.pm.KeySetreadFromParcel(android.os.Parcel in)

hide


          
         
        IBinder token = in.readStrongBinder();
        return new KeySet(token);
    
public voidwriteToParcel(android.os.Parcel out, int flags)

hide

        out.writeStrongBinder(token);