class AmberCLI::Native::CapabilityManifest::LiveActivitySpec

Included Modules

Defined in:

amber_cli/native/capability_manifest.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(ctx : YAML::ParseContext, node : YAML::Nodes::Node) #

[View source]
def self.new(attributes_type : String = "", identifier : String = "", attributes : Hash(String, String) = {} of String => String, content_state : Hash(String, String) = {} of String => String, update_intent : LiveActivityUpdateIntentSpec | Nil = nil, is_active : Bool = true) #

[View source]
def self.new(*, __context_for_yaml_serializable ctx : YAML::ParseContext, __node_for_yaml_serializable node : YAML::Nodes::Node) #

[View source]

Instance Method Detail

def attributes : Hash(String, String) #

[View source]
def attributes=(attributes : Hash(String, String)) #

[View source]
def attributes_type : String #

[View source]
def attributes_type=(attributes_type : String) #

[View source]
def content_state : Hash(String, String) #

[View source]
def content_state=(content_state : Hash(String, String)) #

[View source]
def identifier : String #

[View source]
def identifier=(identifier : String) #

[View source]
def is_active : Bool #

[View source]
def is_active=(is_active : Bool) #

[View source]
def resolved_identifier : String #

[View source]
def update_intent : LiveActivityUpdateIntentSpec | Nil #

[View source]
def update_intent=(update_intent : LiveActivityUpdateIntentSpec | Nil) #

[View source]
def validate! : self #

[View source]