Tutorial: interop.joinContextGroup


This is primarily used for platform windows. Views within a platform should not have to use this API.

Join all connections at the given identity (or just one if endpointId provided) to context group contextGroupId. If no target is specified, it adds the sender to the context group.


joinViewToContextGroup = async (contextGroupId, view) => {
    await fin.me.interop.joinContextGroup(contextGroupId, view);

    .then(lastFocusedViewIdentity => {
        joinViewToContextGroup('red', lastFocusedViewIdentity)