I'm using Web 8.5 and trying to construct a content delivery query to extract the schema of a given component. In older versions of Tridion, I'd have used a ComponentMetaFactory to get the ComponentMeta of the item and then used the ComponentMeta API to get the schema.
Looking at the API documentation, these classes don't seem to be there any more. The closest-sounding classes seem to come in packages related to transportpackage, so that's probably not what I want either.
So given that I've already got a query that will give me the ID of the component I'm interested in, how can I further query the API to get the item's metadata?