createWithAreaCode static method
- @Deprecated('This method is deprecated. Use createWithContext instead.')
Initializes the RtcEngine object. Deprecated: This method is deprecated. Use createWithContext instead.
Param appId
The App ID of your Agora project.
Param areaCode
The area code.
return The RtcEngine instance, if the method call succeeds. An error code, if the call fails.
Implementation
@Deprecated('This method is deprecated. Use createWithContext instead.')
static Future<RtcEngine> createWithAreaCode(
String appId, List<AreaCode> areaCode) {
return createWithContext(RtcEngineContext(appId, areaCode: areaCode));
}