SurfaceView class
(仅适用于 Android)SurfaceView 类。
Note 在 iOS 平台,请使用 UIView。
- Inheritance
- Object
- DiagnosticableTree
- Widget
- StatefulWidget
- SurfaceView
Constructors
-
SurfaceView({Key key, @required int uid, bool zOrderMediaOverlay: false, bool zOrderOnTop: false, VideoRenderMode renderMode: VideoRenderMode.Hidden, String channelId, VideoMirrorMode mirrorMode: VideoMirrorMode.Auto, Set<
Factory< gestureRecognizers, PlatformViewCreatedCallback onPlatformViewCreated})OneSequenceGestureRecognizer> > - Constructs a SurfaceView
Properties
- channelId → String
-
标识通话的频道名称,长度在 64 字节以内的字符串。以下为支持的字符集范围(共 89 个字符): [...]
final, inherited
-
gestureRecognizers
→ Set<
Factory< OneSequenceGestureRecognizer> > -
指定 Web 视图使用的手势。 [...]
final, inherited
- hashCode → int
-
The hash code for this object. [...]
@nonVirtual, read-only, inherited
- key → Key
-
Controls how one widget replaces another widget in the tree. [...]
final, inherited
- mirrorMode → VideoMirrorMode
-
视频的镜像模式。
final, inherited
- onPlatformViewCreated → PlatformViewCreatedCallback
-
创建平台视图回调。 [...]
final, inherited
- renderMode → VideoRenderMode
-
视频视图的渲染模式。
final, inherited
- runtimeType → Type
-
A representation of the runtime type of the object.
read-only, inherited
- uid → int
-
用户 ID。
final, inherited
- zOrderMediaOverlay → bool
-
是否将 SurfaceView 视图的表层置于窗口中另一个 SurfaceView 的上层 (但依然位于窗口的下层)。
TargetPlatform.android
final, inherited
- zOrderOnTop → bool
-
是否将 SurfaceView 视图的表层置于窗口上层。
TargetPlatform.android
final, inherited
Methods
-
createElement(
) → StatefulElement -
Creates a StatefulElement to manage this widget's location in the tree. [...]
inherited
-
createState(
) → State< StatefulWidget> -
Creates the mutable state for this widget at a given location in the tree. [...]
inherited
-
debugDescribeChildren(
) → List< DiagnosticsNode> -
Returns a list of DiagnosticsNode objects describing this node's
children. [...]
@protected, inherited
-
debugFillProperties(
DiagnosticPropertiesBuilder properties) → void -
Add additional properties associated with the node. [...]
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a non-existent method or property is accessed. [...]
inherited
-
toDiagnosticsNode(
{String name, DiagnosticsTreeStyle style}) → DiagnosticsNode -
Returns a debug representation of the object that is used by debugging
tools and by DiagnosticsNode.toStringDeep. [...]
inherited
-
toString(
{DiagnosticLevel minLevel: DiagnosticLevel.info}) → String -
Returns a string representation of this object.
inherited
-
toStringDeep(
{String prefixLineOne: '', String prefixOtherLines, DiagnosticLevel minLevel: DiagnosticLevel.debug}) → String -
Returns a string representation of this node and its descendants. [...]
inherited
-
toStringShallow(
{String joiner: ', ', DiagnosticLevel minLevel: DiagnosticLevel.debug}) → String -
Returns a one-line detailed description of the object. [...]
inherited
-
toStringShort(
) → String -
A short, textual description of this widget.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator. [...]
@nonVirtual, inherited