Responsible for launching of applications that can handle a given intent, and delegation of intents to those applications. Must be overridden.
Example
// override call so we set intent target and create view that will handle it
fin.Platform.init({
interopOverride: async (InteropBroker, provider, options, ...args) => {
class Override extends InteropBroker {
async handleFiredIntent(intent) {
super.setIntentTarget(intent, { uuid: 'platform-uuid', name: 'intent-view' });
const platform = fin.Platform.getCurrentSync();
const win = fin.Window.wrapSync({ name: 'foo', uuid: 'platform-uuid' });
const createdView = await platform.createView({ url: 'http://openfin.co', name: 'intent-view' }, win.identity);
}
}
return new Override(provider, options, ...args);
}
});