/** * Returns any update information that is available for the app. * * @return Update information for the app. */ public ApplicationUpdate getUpdate() { return new ApplicationUpdate(service, path); } }
/** * Indicates whether an implicit ID is required. * * @return {@code true} if an implicit ID is required, {@code false} if not. */ public boolean isImplicitIdRequired() { return getBoolean("update.implicit_id_required", false); } }
/** * Returns the checksum of the app. * * @return The checksum of the app, or {@code null} if not specified. */ public String getChecksum() { return getString("update.checksum", null); }
/** * Returns the size of the app update. * * @return The size of the update, in bytes, or -1 if not specified. */ public int getSize() { return getInteger("update.size", -1); }
/** * Returns the checksum type of the app. * * @return The checksum type, or {@code null} if not specified. */ public String getChecksumType() { return getString("update.checksum.type", null); }
/** * Returns the fully-qualified URL to the app's homepage. * * @return The URL of the app's homepage, or {@code null} if not specified. */ public String getHomepage() { return getString("update.homepage", null); }
/** * Returns the fully-qualified URL to the app update. * * @return The URL of the app update, or {@code null} if not specified. */ public String getAppUrl() { return getString("update.appurl", null); }
/** * Returns the app's name. * * @return The app's name, or {@code null} if not specified. */ public String getUpdateName() { return getString("update.name", null); }
/** * Returns the app's version. * * @return The app's version, or {@code null} if not specified. */ public String getVersion() { return getString("update.version", null); }