1 /*
2  * Copyright (C) 2014 Google Inc.
3  * Licensed to The Android Open Source Project.
4  *
5  * Licensed under the Apache License, Version 2.0 (the "License");
6  * you may not use this file except in compliance with the License.
7  * You may obtain a copy of the License at
8  *
9  *      http://www.apache.org/licenses/LICENSE-2.0
10  *
11  * Unless required by applicable law or agreed to in writing, software
12  * distributed under the License is distributed on an "AS IS" BASIS,
13  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14  * See the License for the specific language governing permissions and
15  * limitations under the License.
16  */
17 
18 package com.android.mail.browse;
19 
20 /**
21  * Contract class for sending extras when desiring to view the entire
22  * message in the case where messages can be clipped.
23  */
24 public final class FullMessageContract {
25 
FullMessageContract()26     private FullMessageContract() {}
27 
28     /**
29      * String extra used to pass in the url to load the full message.
30      */
31     public static final String EXTRA_PERMALINK = "permalink";
32     /**
33      * String extra for the account to which the message belongs.
34      */
35     public static final String EXTRA_ACCOUNT_NAME = "account-name";
36     /**
37      * (Optional) String extra for the server message id of the message.
38      */
39     public static final String EXTRA_SERVER_MESSAGE_ID = "server-message-id";
40 }
41