FDC3 User channels can be worked with via the top-level functions fdc3.broadcast and fdc3.addContextListener OR via the Channel interface retrieved via fdc3.getUserChannels() and fdc3.getOrCreateChannel(<some user channel id>) then channel.broadcast and channel.addContextListener. An implementation error might lead to the two mechanisms appearing to work with different channels (an app channel and user channel version), however, they should be the same (or the fdc3.getUserChannels() function would not make sense).
The conformance tests (both 1.2 and 2.0) should be confirming this, but don't currently. A couple of new tests should be implemented (in both test versions) to confirm this.
FDC3 User channels can be worked with via the top-level functions
fdc3.broadcast
andfdc3.addContextListener
OR via the Channel interface retrieved viafdc3.getUserChannels()
andfdc3.getOrCreateChannel(<some user channel id>)
thenchannel.broadcast
andchannel.addContextListener
. An implementation error might lead to the two mechanisms appearing to work with different channels (an app channel and user channel version), however, they should be the same (or the fdc3.getUserChannels() function would not make sense).The conformance tests (both 1.2 and 2.0) should be confirming this, but don't currently. A couple of new tests should be implemented (in both test versions) to confirm this.