class OutputBuilderCommon
- OutputBuilderCommon
- OutputBuilder
- Reference
- Object
Defined in:
output_builder/common.crConstant Summary
-
MOBILE_METADATA_KEYS =
["via", "query", "action", "category", "host", "package", "component_type", "exported", "explicit", "permission", "read_permission", "write_permission", "grant_uri_permissions", "path_permissions", "extras"] -
Fixed order so plain output is deterministic. The protocol drives the prefix and "path" comes from path params, so neither is repeated here. component_type/exported/explicit appear on explicit-intent (filter-less exported) and provider surfaces; the *_permission / grant_uri_permissions / path_permissions keys only on providers. Absent keys are skipped per endpoint.
-
MOBILE_PROTOCOL_LABELS =
{"mobile-scheme" => "SCHEME", "android-intent" => "INTENT", "universal-link" => "UNIVERSAL", "android-provider" => "PROVIDER"} -
Mobile entry points keep method = "GET" internally; the protocol carries the real semantics and drives the display prefix.