/**@class android.os.SystemProperties @extends java.lang.Object Gives access to the system properties store. The system properties store contains a list of string key-value pairs. {@hide} */ var SystemProperties = { /** Android O removed the property name length limit, but com.amazon.kindle 7.8.1.5 uses reflection to read this whenever text is selected (http://b/36095274). @hide */ PROP_NAME_MAX : "2147483647", /**@hide */ PROP_VALUE_MAX : "91", /**Get the String value for the given {@code key}. @param {String} key the key to lookup @return {String} an empty string if the {@code key} isn't found @hide */ get : function( ) {}, /**Get the String value for the given {@code key}. @param {String} key the key to lookup @param {String} def the default value in case the property is not set or empty @return {String} if the {@code key} isn't found, return {@code def} if it isn't null, or an empty string otherwise @hide */ get : function( ) {}, /**Get the value for the given {@code key}, and return as an integer. @param {String} key the key to lookup @param {Number} def a default value to return @return {Number} the key parsed as an integer, or def if the key isn't found or cannot be parsed @hide */ getInt : function( ) {}, /**Get the value for the given {@code key}, and return as a long. @param {String} key the key to lookup @param {Number} def a default value to return @return {Number} the key parsed as a long, or def if the key isn't found or cannot be parsed @hide */ getLong : function( ) {}, /**Get the value for the given {@code key}, returned as a boolean. Values 'n', 'no', '0', 'false' or 'off' are considered false. Values 'y', 'yes', '1', 'true' or 'on' are considered true. (case sensitive). If the key does not exist, or has any other value, then the default result is returned. @param {String} key the key to lookup @param {Boolean} def a default value to return @return {Boolean} the key parsed as a boolean, or def if the key isn't found or is not able to be parsed as a boolean. @hide */ getBoolean : function( ) {}, /**Set the value for the given {@code key} to {@code val}. @throws IllegalArgumentException if the {@code val} exceeds 91 characters @hide */ set : function( ) {}, /**Add a callback that will be run whenever any system property changes. @param {Object {Runnable}} callback The {@link Runnable} that should be executed when a system property changes. @hide */ addChangeCallback : function( ) {}, /**Notifies listeners that a system property has changed @hide */ reportSyspropChanged : function( ) {}, /**Return a {@code SHA-1} digest of the given keys and their values as a hex-encoded string. The ordering of the incoming keys doesn't change the digest result. @hide */ digestOf : function( ) {}, };