Contents

contentAppMessage(with:completion:)

Command ContentAppMessage

Declaration

func contentAppMessage(with params: MTRContentAppObserverClusterContentAppMessageParams, completion: @escaping  @Sendable (MTRContentAppObserverClusterContentAppMessageResponseParams?, (any Error)?) -> Void)
func contentAppMessage(with params: MTRContentAppObserverClusterContentAppMessageParams) async throws -> MTRContentAppObserverClusterContentAppMessageResponseParams

Discussion

Upon receipt, the data field MAY be parsed and interpreted. Message encoding is specific to the Content App. A Content App MAY when possible read attributes from the Basic Information Cluster on the Observer and use this to determine the Message encoding.