ChannelProfile enum Null safety

Channel profile.

Constants

Communication → const ChannelProfile

The Communication profile.

Use this profile in one-on-one calls or group calls, where all users can talk freely.

@JsonValue(0)
const ChannelProfile(0)
Game → const ChannelProfile

The Gaming profile.

This profile uses a codec with a lower bitrate and consumes less power. Applies to the gaming scenario, where all game players can talk freely.

@JsonValue(2)
const ChannelProfile(2)
LiveBroadcasting → const ChannelProfile

The LiveBroadcasting profile.

Users in a live-broadcast channel have a role as either broadcaster or audience. A broadcaster can both send and receive streams; an audience can only receive streams.

@JsonValue(1)
const ChannelProfile(1)
values → const List<ChannelProfile>

A constant List of the values in this enum, in order of their declaration.

const List<ChannelProfile>

Properties

hashCode int
The hash code for this object. [...]
read-only, inherited
index int

The integer index of this enum.

final
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toString() String
A string representation of this object. [...]
override

Operators

operator ==(Object other) bool
The equality operator. [...]
inherited