HasGenericTraits

@HomeExperimentalGenericApi
interface HasGenericTraits


This interface is only present to allow the sample app to see all traits present on a device (even with TraitId collisions). flatMap + .toSet on the collection of traits from the genericTypes() isn't quite the same, since it doesn't contain traits outside of the type's defined set.

Summary

Public functions

Flow<Set<GenericTrait>>

Public functions

genericTraits

fun genericTraits(): Flow<Set<GenericTrait>>