Utilities class
Properties
-
hashCode
→ int
-
The hash code for this object.
no setterinherited
-
runtimeType
→ Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
toString()
→ String
-
A string representation of this object.
inherited
Static Methods
-
checkPermissions()
→ Future<bool>
-
This method checks for the permissions for the camera,microphone and bluetooth
Based on this we route the screens.
-
fetchMeetingLinkFromFirebase(String url)
→ String
-
-
getAudioDeviceIconName(HMSAudioDevice? hmsAudioDevice)
→ String
-
This method is used to get names for the audio devices
It is used to set the icon based on the audio device
-
getAudioDeviceName(HMSAudioDevice? hmsAudioDevice)
→ String
-
-
getAvatarTitle(String name)
→ String
-
-
getBackgroundColour(String name)
→ Color
-
-
getBoolData({required String key})
→ Future<bool?>
-
-
getCameraPermissions()
→ Future<bool>
-
-
getHLSPlayerDefaultRatio(Size size)
→ double
-
-
getHLSRatio(Size size, BuildContext context)
→ double
-
-
getIntData({required String key})
→ Future<int>
-
-
getPermissions()
→ Future<bool>
-
-
getRatio(Size size, BuildContext context)
→ double
-
-
getStringData({required String key})
→ Future<String>
-
-
getTimedMetadataEmojiFromId(String emojiId)
→ String
-
-
getTrackSetting({required bool isAudioMixerDisabled, required bool joinWithMutedVideo, required bool joinWithMutedAudio, required bool isSoftwareDecoderDisabled, HMSAudioMode? audioMode})
→ HMSTrackSetting
-
-
initForegroundTask()
→ void
-
-
saveBoolData({required String key, required bool value})
→ Future<bool>
-
-
saveIntData({required String key, required int value})
→ void
-
-
saveStringData({required String key, required String value})
→ void
-
-
setRTMPUrl(String roomUrl)
→ void
-
-
showNotification(String message, String type)
→ void
-
-
showTimedMetadata(String message, {int time = 1, Alignment align = const Alignment(0, 0.8)})
→ void
-
-
showToast(String message, {int time = 1})
→ void
-