blob: 9548b7afab1b893b3aaebb8b6e88e41b7bac9e2f [file] [log] [blame]
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#import "flutter/shell/platform/darwin/macos/framework/Source/FlutterView.h"
extern const uint64_t kFlutterDefaultViewId;
/**
* An interface to query FlutterView.
*
* See also:
*
* * FlutterViewEngineProvider, a typical implementation.
*/
@protocol FlutterViewProvider
/**
* Get the FlutterView with the given view ID.
*
* Returns nil if the ID is invalid.
*/
- (nullable FlutterView*)viewForId:(uint64_t)id;
@end