Tutorial: interop.removeFromContextGroup

interop.removeFromContextGroup

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

Removes all connections at the given identity (or just one if endpointId provided) from context group contextGroupId. If no target is specified, it removes the sender from their context group.

Example

removeViewFromContextGroup = async (view) => {
    await fin.me.interop.removeFromContextGroup(view);
}

getLastFocusedView()
    .then(lastFocusedViewIdentity => {
        removeViewFromContextGroup(lastFocusedViewIdentity)
    })