/**@class android.content.ComponentName implements android.os.Parcelable implements java.lang.Cloneable implements java.lang.Comparable @extends java.lang.Object Identifier for a specific application component ({@link android.app.Activity}, {@link android.app.Service}, {@link android.content.BroadcastReceiver}, or {@link android.content.ContentProvider}) that is available. Two pieces of information, encapsulated here, are required to identify a component: the package (a String) it exists in, and the class (a String) name inside of that package. */ var ComponentName = { /***/ CREATOR : "null", /**Create a new component identifier where the class name may be specified as either absolute or relative to the containing package. <p>Relative package names begin with a <code>'.'</code> character. For a package <code>"com.example"</code> and class name <code>".app.MyActivity"</code> this method will return a ComponentName with the package <code>"com.example"</code>and class name <code>"com.example.app.MyActivity"</code>. Fully qualified class names are also permitted.</p> @param {String} pkg the name of the package the component exists in @param {String} cls the name of the class inside of <var>pkg</var> that implements the component @return {Object {android.content.ComponentName}} the new ComponentName */ createRelative : function( ) {}, /**Create a new component identifier where the class name may be specified as either absolute or relative to the containing package. <p>Relative package names begin with a <code>'.'</code> character. For a package <code>"com.example"</code> and class name <code>".app.MyActivity"</code> this method will return a ComponentName with the package <code>"com.example"</code>and class name <code>"com.example.app.MyActivity"</code>. Fully qualified class names are also permitted.</p> @param {Object {Context}} pkg a Context for the package implementing the component @param {String} cls the name of the class inside of <var>pkg</var> that implements the component @return {Object {android.content.ComponentName}} the new ComponentName */ createRelative : function( ) {}, /** */ clone : function( ) {}, /**Return the package name of this component. */ getPackageName : function( ) {}, /**Return the class name of this component. */ getClassName : function( ) {}, /**Return the class name, either fully qualified or in a shortened form (with a leading '.') if it is a suffix of the package. */ getShortClassName : function( ) {}, /**Return a String that unambiguously describes both the package and class names contained in the ComponentName. You can later recover the ComponentName from this string through {@link #unflattenFromString}(String). @return {String} Returns a new String holding the package and class names. This is represented as the package name, concatenated with a '/' and then the class name. @see #unflattenFromString(String) */ flattenToString : function( ) {}, /**The same as {@link #flattenToString}(), but abbreviates the class name if it is a suffix of the package. The result can still be used with {@link #unflattenFromString}(String). @return {String} Returns a new String holding the package and class names. This is represented as the package name, concatenated with a '/' and then the class name. @see #unflattenFromString(String) */ flattenToShortString : function( ) {}, /** @hide */ appendShortString : function( ) {}, /** @hide */ appendShortString : function( ) {}, /** @hide */ printShortString : function( ) {}, /**Recover a ComponentName from a String that was previously created with {@link #flattenToString}(). It splits the string at the first '/', taking the part before as the package name and the part after as the class name. As a special convenience (to use, for example, when parsing component names on the command line), if the '/' is immediately followed by a '.' then the final class name will be the concatenation of the package name with the string following the '/'. Thus "com.foo/.Blah" becomes package="com.foo" class="com.foo.Blah". @param {String} str The String that was returned by flattenToString(). @return {Object {android.content.ComponentName}} Returns a new ComponentName containing the package and class names that were encoded in <var>str</var> @see #flattenToString() */ unflattenFromString : function( ) {}, /**Return string representation of this class without the class's name as a prefix. */ toShortString : function( ) {}, /** */ toString : function( ) {}, /** */ equals : function( ) {}, /** */ hashCode : function( ) {}, /** */ compareTo : function( ) {}, /** */ describeContents : function( ) {}, /** */ writeToParcel : function( ) {}, /**Write a ComponentName to a Parcel, handling null pointers. Must be read with {@link #readFromParcel}(Parcel). @param {Object {ComponentName}} c The ComponentName to be written. @param {Object {Parcel}} out The Parcel in which the ComponentName will be placed. @see #readFromParcel(Parcel) */ writeToParcel : function( ) {}, /**Read a ComponentName from a Parcel that was previously written with {@link #writeToParcel(ComponentName, Parcel)}, returning either a null or new object as appropriate. @param {Object {Parcel}} in The Parcel from which to read the ComponentName @return {Object {android.content.ComponentName}} Returns a new ComponentName matching the previously written object, or null if a null had been written. @see #writeToParcel(ComponentName, Parcel) */ readFromParcel : function( ) {}, };