@Override
    public void writeToParcel(Parcel dest, int flags) {
        dest.writeString(meshUuid);
        dest.writeInt(keyIndex);
        dest.writeString(name);
        dest.writeInt(boundNetKeyIndex);
        dest.writeByteArray(key);
        dest.writeInt(aid);
        dest.writeByteArray(oldKey);
        dest.writeInt(oldAid);
    }
Constructs a ApplicationKey object with a given key index and network key

@param keyIndex 12-bit app key index
@param key      16-byte app key
mesh/src/main/java/no/nordicsemi/android/mesh/ApplicationKey.java