summaryrefslogtreecommitdiff
path: root/java/com/android/dialer/glidephotomanager/photo_info.proto
blob: 4e18e033ef48b7465a6d4f259244050882663ccf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
syntax = "proto2";

option java_package = "com.android.dialer.glidephotomanager";
option java_multiple_files = true;


package com.android.dialer.glidephotomanager;

// Contains information associated with a number, which is used to create the
// photo.
// Next ID: 13
message PhotoInfo {
  // The display name of the number.
  optional string name = 1;

  // The number presented to the user.
  optional string formatted_number = 2;

  // The URI of the photo.
  optional string photo_uri = 3;

  // Value of android.provider.ContactsContract.CommonDataKinds.Photo#_ID
  optional int64 photo_id = 4;

  // The Contacts Provider lookup URI for the contact associated with the
  // number.
  optional string lookup_uri = 5;

  // Whether a business icon should be displayed.
  optional bool is_business = 6;

  // Whether a voicemail icon should be displayed.
  optional bool is_voicemail = 7;

  // Whether a "blocked" icon should be displayed.
  optional bool is_blocked = 8;

  // Whether a "spam" icon should be displayed.
  optional bool is_spam = 9;

  // Whether the photo should be badged as video call.
  optional bool is_video = 10;

  // Whether the photo should be badged as RTT call.
  optional bool is_rtt = 11;

  // Whether to show conference call icon instead of contact icon.
  optional bool is_conference = 12;
}