readAttributeColorMode(completionHandler:)

Declaration

func readAttributeColorMode(completionHandler: @escaping  @Sendable (NSNumber?, (any Error)?) -> Void)
func readAttributeColorMode() async throws -> NSNumber