• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1syntax = "proto2";
2
3package com.android.car.developeroptions.intelligence;
4option java_outer_classname = "ContextualCardProto";
5
6message ContextualCardList {
7  repeated ContextualCard card = 1;
8}
9
10message ContextualCard {
11
12  /**
13   * The category of a card: this is a hint for how a card should be collected,
14   * ranked, and presented
15   */
16  enum Category {
17    DEFAULT = 0;
18    SUGGESTION = 1;
19    POSSIBLE = 2;
20    IMPORTANT = 3;
21    DEFERRED_SETUP = 5;
22  }
23
24  /** Slice uri of the contextual card */
25  optional string sliceUri = 1;
26
27  /** Name of the card. It should be identical in every app */
28  optional string cardName = 3;
29
30  optional Category card_category = 4;
31
32  optional double card_score = 5;
33}
34