independentModeLinkAddressProvider property Null safety
Get the provider of the link for entering the chatroom in the independent mode, which refers to the case when the user enters a chatroom without logging into IM first. The field is required for the independent mode. If it is not configured, the chatroom will be inaccessible.
Implementation
NIMChatroomIndependentModeLinkAddressProvider?
get independentModeLinkAddressProvider {
return _platform.independentModeLinkAddressProvider;
}
Set the provider of the link for entering the chatroom in the independent mode, which refers to the case when the user enters a chatroom without logging on to the CommsEase IM server first. Because the connection between the SDK and the CommsEase IM server is not established when the user enters the chatroom in independent mode, the SDK cannot get the chatroom server address automatically. Hence the client needs to provide the SDK with the address. The field is required the independent mode. If it is not configured, the chatroom will be inaccessible.
Implementation
set independentModeLinkAddressProvider(
NIMChatroomIndependentModeLinkAddressProvider? provider) {
_platform.independentModeLinkAddressProvider = provider;
}