/**@class android.provider.Telephony.CarrierId implements android.provider.BaseColumns @extends java.lang.Object Contains carrier identification information for the current subscriptions. */ var CarrierId = { /** The {@code content://} style URI for this provider. */ CONTENT_URI : "null", /** The authority string for the CarrierId Provider @hide */ AUTHORITY : "carrier_id", /** A user facing carrier name. @see TelephonyManager#getSimCarrierIdName() <P>Type: TEXT </P> */ CARRIER_NAME : "carrier_name", /** A unique carrier id @see TelephonyManager#getSimCarrierId() <P>Type: INTEGER </P> */ CARRIER_ID : "carrier_id", /** A fine-grained carrier id. The specific carrier ID would be used for configuration purposes, but apps wishing to know about the carrier itself should use the regular carrier ID returned by {@link android.provider.TelephonyManager#getSimCarrierId()}. @see TelephonyManager#getSimSpecificCarrierId() This is not a database column, only used to notify content observers for {@link #getSpecificCarrierIdUriForSubscriptionId}(int) */ SPECIFIC_CARRIER_ID : "specific_carrier_id", /** A user facing carrier name for specific carrier id {@link #SPECIFIC_CARRIER_ID}. @see TelephonyManager#getSimSpecificCarrierIdName() This is not a database column, only used to notify content observers for {@link #getSpecificCarrierIdUriForSubscriptionId}(int) */ SPECIFIC_CARRIER_ID_NAME : "specific_carrier_id_name", /** A unique parent carrier id. The parent-child relationship can be used to further differentiate a single carrier by different networks, by prepaid v.s. postpaid. It's an optional field. A carrier id with a valid parent_carrier_id is considered fine-grained specific carrier ID, will not be returned as {@link #CARRIER_ID} but {@link #SPECIFIC_CARRIER_ID}. <P>Type: INTEGER </P> @hide */ PARENT_CARRIER_ID : "parent_carrier_id", /**Generates a content {@link Uri} used to receive updates on carrier identity change on the given subscriptionId <p> Use this {@link Uri} with a {@link ContentObserver} to be notified of changes to the carrier identity {@link android.provider.TelephonyManager#getSimCarrierId()} while your app is running. You can also use a {@link JobService} to ensure your app is notified of changes to the {@link Uri} even when it is not running. Note, however, that using a {@link JobService} does not guarantee timely delivery of updates to the {@link Uri}. @param {Number} subscriptionId the subscriptionId to receive updates on @return {Object {android.net.Uri}} the Uri used to observe carrier identity changes */ getUriForSubscriptionId : function( ) {}, /**Generates a content {@link Uri} used to receive updates on specific carrier identity change on the given subscriptionId returned by {@link android.provider.TelephonyManager#getSimSpecificCarrierId()}. @param {Number} subscriptionId the subscriptionId to receive updates on @param subscriptionId the subscriptionId to receive updates on @return {Object {android.net.Uri}} the Uri used to observe specific carrier identity changes */ getSpecificCarrierIdUriForSubscriptionId : function( ) {}, };