summaryrefslogtreecommitdiff
path: root/emoji-compat-flatbuffers/data/emoji_metadata.fbs
diff options
context:
space:
mode:
Diffstat (limited to 'emoji-compat-flatbuffers/data/emoji_metadata.fbs')
-rw-r--r--emoji-compat-flatbuffers/data/emoji_metadata.fbs34
1 files changed, 34 insertions, 0 deletions
diff --git a/emoji-compat-flatbuffers/data/emoji_metadata.fbs b/emoji-compat-flatbuffers/data/emoji_metadata.fbs
new file mode 100644
index 0000000..23d0db9
--- /dev/null
+++ b/emoji-compat-flatbuffers/data/emoji_metadata.fbs
@@ -0,0 +1,34 @@
+//IDL file for Flatbuffers
+// 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.
+
+namespace androidx.text.emoji.flatbuffer;
+
+table MetadataList {
+ version : int;
+ list : [MetadataItem];
+ sourceSha : string;
+}
+
+table MetadataItem {
+ id : int;
+ emojiStyle : bool;
+ sdkAdded : short;
+ compatAdded : short;
+ width : short;
+ height : short;
+ codepoints : [int];
+}
+
+root_type MetadataList; \ No newline at end of file