Class: Android::Manifest::IntentFilter::Action
- Inherits:
- 
      Object
      
        - Object
- Android::Manifest::IntentFilter::Action
 
- Defined in:
- lib/android/manifest.rb
Overview
intent-filter action class
Instance Attribute Summary collapse
- 
  
    
      #name  ⇒ String 
    
    
  
  
  
  
    
      readonly
    
    
  
  
  
  
  
  
    Action name of intent-filter. 
- 
  
    
      #type  ⇒ String 
    
    
  
  
  
  
    
      readonly
    
    
  
  
  
  
  
  
    Action type of intent-filter. 
Instance Method Summary collapse
- 
  
    
      #initialize(elem)  ⇒ Action 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    A new instance of Action. 
Constructor Details
#initialize(elem) ⇒ Action
Returns a new instance of Action.
| 82 83 84 85 | # File 'lib/android/manifest.rb', line 82 def initialize(elem) @type = 'action' @name = elem.attributes['name'] end | 
Instance Attribute Details
#name ⇒ String (readonly)
Returns action name of intent-filter.
| 78 79 80 | # File 'lib/android/manifest.rb', line 78 def name @name end | 
#type ⇒ String (readonly)
Returns action type of intent-filter.
| 80 81 82 | # File 'lib/android/manifest.rb', line 80 def type @type end |