Previously we added a facet with a url namespace that we could then check in the canHandleResource method. I am a bit confused on how to do this now. I see the setMetadataValue and getMetadataValue method which I am assuming come into play but I’m uncertain how.Also is there a sample that demonstrates how this is done?

Where you previously called addFacet, you now call addMetadataValue. The first parameter (namespaceURL) is the same for both. The second param used to be a Facet, but now it's an arbitrary object. So you can create your own strongly-typed class, or use the Metadata class, or if you only have one piece of info to add, use a String.

The CaptioningSample uses this API to specify the URL of the captioning document, search for "addMetadataValue" in this file: