Trey
03/21/2024, 8:51 PMPTChannelManagerDelegateProtocol
in iosMain and I'm getting "Conflicting overloads"
exceptions. The confusing part to me is that the methods all have unique parameter names. Here is an example of two methods:
public open fun channelManager(channelManager: PTChannelManager, didActivateAudioSession: AVAudioSession):
public open fun channelManager(channelManager: PTChannelManager, didDeactivateAudioSession: AVAudioSession):
How do I resolve these errors?Landry Norris
03/21/2024, 9:57 PMTrey
03/21/2024, 9:59 PMTrey
03/21/2024, 10:01 PMTrey
03/21/2024, 10:02 PMclass PushToTalkManager(
): NSObject(), PTChannelManagerDelegateProtocol, PTChannelRestorationDelegateProtocol {
}
This is how I'm trying to use it.Landry Norris
03/21/2024, 10:02 PMLandry Norris
03/21/2024, 10:04 PMLandry Norris
03/21/2024, 10:05 PMTrey
03/21/2024, 10:07 PMDeepak Nulu
03/21/2024, 10:09 PMLandry Norris
03/21/2024, 10:09 PM@Suppress("CONFLICTING_OVERLOADS")
Trey
03/21/2024, 10:10 PMLandry Norris
03/21/2024, 10:11 PMTrey
03/21/2024, 10:11 PMDeepak Nulu
03/21/2024, 10:12 PMLandry Norris
03/21/2024, 10:13 PM