Files
app_Settings/protos/contextual_card_list.proto
Fan Zhang 9a28c433f2 Update proto for contextual_card_list.
Bug: 118842350
Test: rebuild
Change-Id: I838738f56c8793a8e4d6adf43bc812777edbcd88
2018-11-06 15:48:03 -08:00

32 lines
658 B
Protocol Buffer

syntax = "proto2";
package com.android.settings.intelligence;
option java_outer_classname = "ContextualCardProto";
message ContextualCardList {
repeated ContextualCard card = 1;
}
message ContextualCard {
/**
* The category of a card: this is a hint for how a card should be collected,
* ranked, and presented
*/
enum Category {
DEFAULT = 0;
SUGGESTION = 1;
POSSIBLE = 2;
IMPORTANT = 3;
EXCLUSIVE = 4;
}
/** Slice uri of the contextual card */
optional string sliceUri = 1;
/** Name of the card. It should be identical in every app */
optional string cardName = 3;
optional Category card_category = 4;
}