blob: 5376b0ed5c4c54c99c010152b147c06cd1f5d011 [file] [log] [blame]
/*
* Copyright (C) 2017 The Android Open Source Project
*
* 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";
option java_package = "android.app";
option java_multiple_files = true;
package android.app;
/**
* An android.app.Notification object.
* Deprecated fields are not included in the proto.
*/
message NotificationProto {
optional string channel_id = 1;
optional bool has_ticker_text = 2;
optional int32 flags = 3;
optional int32 color = 4;
optional string category = 5;
optional string group_key = 6;
optional string sort_key = 7;
optional int32 action_length = 8;
// If this field is not set, then the value is unknown.
enum Visibility {
VISIBILITY_SECRET = -1;
VISIBILITY_PRIVATE = 0;
VISIBILITY_PUBLIC = 1;
}
optional Visibility visibility = 9;
optional NotificationProto public_version = 10;
}