fix(android): clarify channel and voice status icons
This commit is contained in:
@@ -356,6 +356,15 @@ class BridgeClient {
|
||||
/// Nickname.
|
||||
final String name;
|
||||
|
||||
/// True when this client has muted microphone/input capture.
|
||||
final bool inputMuted;
|
||||
|
||||
/// True when this client has muted speaker/output audio.
|
||||
final bool outputMuted;
|
||||
|
||||
/// True when recent inbound voice activity was observed for this client.
|
||||
final bool isSpeaking;
|
||||
|
||||
/// True for TeamSpeak ServerQuery clients.
|
||||
final bool isServerQuery;
|
||||
|
||||
@@ -363,12 +372,21 @@ class BridgeClient {
|
||||
required this.id,
|
||||
required this.channel,
|
||||
required this.name,
|
||||
required this.inputMuted,
|
||||
required this.outputMuted,
|
||||
required this.isSpeaking,
|
||||
required this.isServerQuery,
|
||||
});
|
||||
|
||||
@override
|
||||
int get hashCode =>
|
||||
id.hashCode ^ channel.hashCode ^ name.hashCode ^ isServerQuery.hashCode;
|
||||
id.hashCode ^
|
||||
channel.hashCode ^
|
||||
name.hashCode ^
|
||||
inputMuted.hashCode ^
|
||||
outputMuted.hashCode ^
|
||||
isSpeaking.hashCode ^
|
||||
isServerQuery.hashCode;
|
||||
|
||||
@override
|
||||
bool operator ==(Object other) =>
|
||||
@@ -378,6 +396,9 @@ class BridgeClient {
|
||||
id == other.id &&
|
||||
channel == other.channel &&
|
||||
name == other.name &&
|
||||
inputMuted == other.inputMuted &&
|
||||
outputMuted == other.outputMuted &&
|
||||
isSpeaking == other.isSpeaking &&
|
||||
isServerQuery == other.isServerQuery;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user