create

Creates the RtcEngine object.

static Future<RtcEngine> create(String appId)

This method is deprecated. Use createWithContext instead.

Parameters

appId
The Agora App ID of your Agora project.

Returns

  • The RtcEngine instance, if the method call succeeds.
  • An error code, if the call fails.