Upstream version 5.34.92.0
[platform/framework/web/crosswalk.git] / src / xwalk / runtime / android / core / src / org / xwalk / core / extension / api / messaging / MessagingSmsConsts.java
1 // Copyright (c) 2013 Intel Corporation. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 // Copyright (c) 2009 Christoph Studer <chstuder@gmail.com>
6 // Copyright (c) 2010 Jan Berkel <jan.berkel@gmail.com>
7 //
8 // Licensed under the Apache License, Version 2.0 (the "License");
9 // you may not use this file except in compliance with the License.
10 // You may obtain a copy of the License at
11 //
12 //     http://www.apache.org/licenses/LICENSE-2.0
13 // 
14 // Unless required by applicable law or agreed to in writing, software
15 // distributed under the License is distributed on an "AS IS" BASIS,
16 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
17 // See the License for the specific language governing permissions and
18 // limitations under the License.
19
20 package org.xwalk.core.extension.api.messaging;
21
22 // Contains SMS content provider constants. These values are copied from
23 // com.android.provider.telephony.*
24
25 public class MessagingSmsConsts {
26     public static final String ID = "_id";
27     public static final String BODY = "body";
28     public static final String DATE = "date";
29     public static final String THREAD_ID = "thread_id";
30     public static final String ADDRESS = "address";
31     public static final String TYPE = "type";
32     public static final String READ = "read";
33     public static final String STATUS = "status";
34     public static final String SERVICE_CENTER = "service_center";
35     public static final String PROTOCOL = "protocol";
36     public static final String PERSON = "person";
37     public static final int MESSAGE_TYPE_ALL = 0;
38     public static final int MESSAGE_TYPE_INBOX = 1;
39     public static final int MESSAGE_TYPE_SENT = 2;
40     public static final int MESSAGE_TYPE_DRAFT = 3;
41     public static final int MESSAGE_TYPE_OUTBOX = 4;
42     public static final int MESSAGE_TYPE_FAILED = 5; // for failed outgoing messages
43     public static final int MESSAGE_TYPE_QUEUED = 6; // for messages to send later
44 }