This is primarily used for platform windows. Views within a platform should not have to use this API.
Returns the Interop-Broker-defined context groups available for an entity to join.
response
{
id: 'red',
displayMetadata: {
color: '#FF5E60',
name: 'red'
}
}
Example
fin.me.interop.getInfoForContextGroup('red')
.then(contextGroupInfo => {
console.log(contextGroupInfo.displayMetadata.name)
console.log(contextGroupInfo.displayMetadata.color)
})