Class: ApkResources::ResTypeSpec
- Inherits:
-
Struct
- Object
- Struct
- ApkResources::ResTypeSpec
- Defined in:
- lib/apktools/apkresources.rb
Overview
Structure defining the flags for a block of common resources
ResTypeSpec = Struct.new(:header, :id, :entry_count, :entries, :types)
-
header
= ChunkHeader -
id
= String value of the referenced type (e.g. “drawable”) -
entry_count
= Number of type entries in this chunk -
entries
= Array of config flags for each type entry -
types
= The ResType associated with this spec
Instance Attribute Summary collapse
-
#entries ⇒ Object
Returns the value of attribute entries.
-
#entry_count ⇒ Object
Returns the value of attribute entry_count.
-
#header ⇒ Object
Returns the value of attribute header.
-
#id ⇒ Object
Returns the value of attribute id.
-
#types ⇒ Object
Returns the value of attribute types.
Instance Attribute Details
#entries ⇒ Object
Returns the value of attribute entries
78 79 80 |
# File 'lib/apktools/apkresources.rb', line 78 def entries @entries end |
#entry_count ⇒ Object
Returns the value of attribute entry_count
78 79 80 |
# File 'lib/apktools/apkresources.rb', line 78 def entry_count @entry_count end |
#header ⇒ Object
Returns the value of attribute header
78 79 80 |
# File 'lib/apktools/apkresources.rb', line 78 def header @header end |
#id ⇒ Object
Returns the value of attribute id
78 79 80 |
# File 'lib/apktools/apkresources.rb', line 78 def id @id end |
#types ⇒ Object
Returns the value of attribute types
78 79 80 |
# File 'lib/apktools/apkresources.rb', line 78 def types @types end |