addToBuilder static method
void
addToBuilder(})
Adds the implementation of the NSSoundDelegate protocol to an existing
objc.ObjCProtocolBuilder.
Note: You cannot call this method after you have called builder.build.
Implementation
static void addToBuilder(
objc.ObjCProtocolBuilder builder, {
void Function(NSSound, bool)? sound_didFinishPlaying_,
bool $keepIsolateAlive = true,
}) {
NSSoundDelegate.sound_didFinishPlaying_.implement(
builder,
sound_didFinishPlaying_,
);
builder.addProtocol($protocol);
}