AgoraMasamuneAdapter class
Adapter to make Agora.io available on the Masamune framework.
It is available by setting appId, customerId and customerSecret.
It is also necessary to set up a functionsAdapter to obtain the token.
Agora.ioをMasamuneフレームワーク上で利用可能にするためのAdapter。
appIdとcustomerId、customerSecretを設定することで利用可能になります。
またトークンを取得するためのfunctionsAdapterを設定する必要があります。
- Inheritance
-
- Object
- MasamuneAdapter
- AgoraMasamuneAdapter
Constructors
- AgoraMasamuneAdapter({required String appId, required String customerId, required String customerSecret, AgoraStorageBucketConfig? storageBucketConfig, bool enableRecordingByDefault = false, bool enableScreenCaptureByDefault = false, required FunctionsAdapter functionsAdapter})
-
Adapter to make Agora.io available on the Masamune framework.
const
Properties
- appId → String
-
AppID for Agora.
final
- customerId → String
-
Customer ID for Agora.
final
- customerSecret → String
-
Customer Secret for Agora.
final
- enableRecordingByDefault → bool
-
Setting this to
true
will enable CloudRecording recording by default.final - enableScreenCaptureByDefault → bool
-
If this is set to
true
, CloudRecording screenshots are enabled by default.final - functionsAdapter → FunctionsAdapter
-
To use Agora.io, it is necessary to obtain a token from the server, so specify an adapter in
Functions
that can use it.final - hashCode → int
-
The hash code for this object.
no setterinherited
-
loggerAdapters
→ List<
LoggerAdapter> -
Adapters can be defined to add logger functionality.
no setterinherited
-
Observers can be set up to monitor transitions between pages.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- runZonedGuarded → bool
-
If you set this to
true
, you can wrap runApp with runZonedGuarded.no setterinherited - storageBucketConfig → AgoraStorageBucketConfig?
-
Cloud settings for storing files to use CloudRecording.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
onBuildApp(
BuildContext context, Widget app) → Widget -
Widgets can be added during the build of
MasamuneApp
.override -
onError(
Object error, StackTrace stackTrace) → void -
You can describe the process when runZonedGuarded is set to
true
.inherited -
onInitScope(
MasamuneAdapter adapter) → void -
Called when initializing
MasamuneAdapterScope
.override -
onMaybeBoot(
) → FutureOr< void> -
It may be called during application initialization.
inherited
-
onPreRunApp(
) → FutureOr< void> -
You can describe the process before runApp.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Properties
- primary → AgoraMasamuneAdapter
-
You can retrieve the AgoraMasamuneAdapter first given by
MasamuneAdapterScope
.no setter