Home | History | Annotate | Download | only in telephony
      1 /*
      2  * Copyright (C) 2010 The Android Open Source Project
      3  *
      4  * Licensed under the Apache License, Version 2.0 (the "License");
      5  * you may not use this file except in compliance with the License.
      6  * You may obtain a copy of the License at
      7  *
      8  *      http://www.apache.org/licenses/LICENSE-2.0
      9  *
     10  * Unless required by applicable law or agreed to in writing, software
     11  * distributed under the License is distributed on an "AS IS" BASIS,
     12  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
     13  * See the License for the specific language governing permissions and
     14  * limitations under the License.
     15  */
     16 
     17 package com.android.internal.telephony;
     18 
     19 /**
     20  * WapPushManager constant value definitions
     21  */
     22 public class WapPushManagerParams {
     23     /**
     24      * Application type activity
     25      */
     26     public static final int APP_TYPE_ACTIVITY = 0;
     27 
     28     /**
     29      * Application type service
     30      */
     31     public static final int APP_TYPE_SERVICE = 1;
     32 
     33     /**
     34      * Process Message return value
     35      * Message is handled
     36      */
     37     public static final int MESSAGE_HANDLED = 0x1;
     38 
     39     /**
     40      * Process Message return value
     41      * Application ID or content type was not found in the application ID table
     42      */
     43     public static final int APP_QUERY_FAILED = 0x2;
     44 
     45     /**
     46      * Process Message return value
     47      * Receiver application signature check failed
     48      */
     49     public static final int SIGNATURE_NO_MATCH = 0x4;
     50 
     51     /**
     52      * Process Message return value
     53      * Receiver application was not found
     54      */
     55     public static final int INVALID_RECEIVER_NAME = 0x8;
     56 
     57     /**
     58      * Process Message return value
     59      * Unknown exception
     60      */
     61     public static final int EXCEPTION_CAUGHT = 0x10;
     62 
     63     /**
     64      * Process Message return value
     65      * Need further processing after WapPushManager message processing
     66      */
     67     public static final int FURTHER_PROCESSING = 0x8000;
     68 
     69 }
     70 
     71