as

Settings
Sign out
Notifications
Alexa
亚马逊应用商店
Ring
AWS
文档
Support
Contact Us
My Cases
新手入门
设计和开发
应用发布
参考
支持
跳转到主要内容
The [[message]] section defines the URIs that the application package introduces to the rest of the system.
The section may be skipped when the message URI addresses a private lifecycle component in the application package. Skipping is only allowed for URIs using pkg:// scheme because they directly contain the lifecycle component’s name. In other words, every lifecycle component can be launched by prefixing the component id with pkg://. It is equivalent to defining a [[message]] as follows. Every URI defined in a [[message]] must be included in one and only one module.

Fields

  • uri (string, required): URI that can be used with Vega Messaging APIs for communication.
  • sender-privileges (array of strings, required): If multiple privileges are specified then the sender or receiver must have all privileges in the list to assume the role. In addition to the specific privilege ids, use * or self if appropriate. * allows anyone to use (send / receive) the message. self allows only the application package the module is part of to use the message.

Examples

You can see an example of the message section in Content Launcher documentation.
最后修改于 2025年9月30日