Flutter Engine
The Flutter Engine
FlutterOverlaySurface.java
Go to the documentation of this file.
1// Copyright 2013 The Flutter Authors. All rights reserved.
2// Use of this source code is governed by a BSD-style license that can be
3// found in the LICENSE file.
4
5package io.flutter.embedding.engine;
6
7import android.view.Surface;
8import androidx.annotation.Keep;
9import androidx.annotation.NonNull;
10
11@Keep
13 @NonNull private final Surface surface;
14
15 private final int id;
16
17 public FlutterOverlaySurface(int id, @NonNull Surface surface) {
18 this.id = id;
19 this.surface = surface;
20 }
21
22 public int getId() {
23 return id;
24 }
25
26 public Surface getSurface() {
27 return surface;
28 }
29}
FlutterOverlaySurface(int id, @NonNull Surface surface)
VkSurfaceKHR surface
Definition: main.cc:49
const uintptr_t id