blob: e48829947abeefa7dea68a64cd0e26bf65a95b3d [file] [log] [blame]
// Copyright 2020 The Feed Authors.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
syntax = "proto2";
package feedwire;
option optimize_for=LITE_RUNTIME;
// Feature capability of either the client or the server.
// Next ID: 20
enum Capability {
UNKNOWN_CAPABILITY = 0;
// The client is capable of a basic UI.
BASE_UI = 1;
INFINITE_FEED = 5;
// Enable Dismiss command
DISMISS_COMMAND = 9;
// Enable Undo in Dismiss
UNDO_FOR_DISMISS_COMMAND = 10;
REDACTED_11 = 11;
// The client is only considered capable of supporting a minimal heirloomed
// feed.
HEIRLOOMED_FEED = 13;
// The client is capable of supporting sports features.
SPORTS_FEATURE = 14;
// The client is capable of supporting ads content.
PAID_CONTENT = 15;
// Enable open video command.
OPEN_VIDEO_COMMAND = 16;
REDACTED_17 = 17;
// Enable inline video autoplay.
INLINE_VIDEO_AUTOPLAY = 18;
// Enable the card menu.
CARD_MENU = 19;
reserved 2 to 4, 6 to 8, 12;
}