AgoraMasamuneAdapter constructor
const
AgoraMasamuneAdapter({})
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を設定する必要があります。
Implementation
const AgoraMasamuneAdapter({
required this.appId,
required this.customerId,
required this.customerSecret,
this.storageBucketConfig,
this.enableRecordingByDefault = false,
this.enableScreenCaptureByDefault = false,
required this.functionsAdapter,
}) : assert(
enableRecordingByDefault == false || storageBucketConfig != null,
"If you want to use cloud recording, you must set [storageBucketConfig].",
),
assert(
enableScreenCaptureByDefault == false || storageBucketConfig != null,
"If you want to use screen capture, you must set [storageBucketConfig].",
);