@Override public void onSplitfileCompatibilityMode(CompatibilityMode min, CompatibilityMode max, byte[] splitfileKey, boolean dontCompress, boolean bottomLayer, boolean definitiveAnyway, ClientContext context) { // Pass through definitiveAnyway as the top block may include the details. // Hence we can get them straight away rather than waiting for the bottom layer. rcb.onSplitfileCompatibilityMode(min, max, splitfileKey, dontCompress, false, definitiveAnyway, context); }
@Override public void onSplitfileCompatibilityMode(CompatibilityMode min, CompatibilityMode max, byte[] splitfileKey, boolean dontCompress, boolean bottomLayer, boolean definitiveAnyway, ClientContext context) { // This is fetching an archive, which may or may not contain the file we are looking for (it includes metadata). // So we are definitely not the bottom layer nor definitive. rcb.onSplitfileCompatibilityMode(min, max, splitfileKey, dontCompress, false, false, context); }
@Override public void onSplitfileCompatibilityMode(CompatibilityMode min, CompatibilityMode max, byte[] customSplitfileKey, boolean compressed, boolean bottomLayer, boolean definitiveAnyway) { cb.onSplitfileCompatibilityMode(min, max, customSplitfileKey, compressed, bottomLayer, definitiveAnyway, context); }
@Override public void onSplitfileCompatibilityMode(CompatibilityMode min, CompatibilityMode max, byte[] splitfileKey, boolean dontCompress, boolean bottomLayer, boolean definitiveAnyway, ClientContext context) { cb.onSplitfileCompatibilityMode(min, max, splitfileKey, dontCompress, bottomLayer, definitiveAnyway, context); }
redirectedCryptoKey = null; rcb.onSplitfileCompatibilityMode( metadata.getMinCompatMode(), metadata.getMaxCompatMode(),