diff options
Diffstat (limited to 'java/com/android/dialer/enrichedcall/historyquery/proto/history_result.proto')
-rw-r--r-- | java/com/android/dialer/enrichedcall/historyquery/proto/history_result.proto | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/java/com/android/dialer/enrichedcall/historyquery/proto/history_result.proto b/java/com/android/dialer/enrichedcall/historyquery/proto/history_result.proto new file mode 100644 index 000000000..62d013a46 --- /dev/null +++ b/java/com/android/dialer/enrichedcall/historyquery/proto/history_result.proto @@ -0,0 +1,23 @@ +syntax = "proto2"; + +option java_package = "com.android.dialer.enrichedcall.historyquery.proto"; +option java_multiple_files = true; +option optimize_for = LITE_RUNTIME; + +package com.android.dialer.enrichedcall.historyquery.proto; + +// Holds data that was used in an enrichedcall in the past +message HistoryResult { + optional Type type = 1; + optional string text = 2; + optional string image_uri = 4; + optional string image_content_type = 5; + optional int64 timestamp = 7; + + enum Type { + INCOMING_CALL_COMPOSER = 1; + OUTGOING_CALL_COMPOSER = 2; + INCOMING_POST_CALL = 3; + OUTGOING_POST_CALL = 4; + } +} |