Class: Android::Manifest::ActivityAlias
- Defined in:
- lib/android/manifest.rb
Constant Summary
Constants inherited from Component
Instance Attribute Summary collapse
-
#target_activity ⇒ String
readonly
Target activity name.
Attributes inherited from Component
#elem, #icon_id, #intent_filters, #metas, #name, #type
Instance Method Summary collapse
-
#initialize(elem) ⇒ ActivityAlias
constructor
A new instance of ActivityAlias.
Methods inherited from Activity
#default_launcher_activity?, #launcher_activity?, valid?
Methods inherited from Component
Constructor Details
#initialize(elem) ⇒ ActivityAlias
Returns a new instance of ActivityAlias.
112 113 114 115 |
# File 'lib/android/manifest.rb', line 112 def initialize(elem) super @target_activity = elem.attributes['targetActivity'] end |
Instance Attribute Details
#target_activity ⇒ String (readonly)
Returns target activity name.
108 109 110 |
# File 'lib/android/manifest.rb', line 108 def target_activity @target_activity end |