Class: ApkResources::ResTypeConfig
- Inherits:
-
Struct
- Object
- Struct
- ApkResources::ResTypeConfig
- Defined in:
- lib/apktools/apkresources.rb
Overview
Structure that houses the configuration flags for a given resource.
ResTypeConfig = Struct.new(:imsi, :locale, :screen_type, :input, :screen_size, :version, :screen_config, :screen_size_dp)
imsi= Flags marking country code and network codelocale= Flags marking locale requirements (language)screen_type= Flags/values for screen densityinput= Flags marking input types and visibility statusscreen_size= Flags marking screen size and lengthversion= Minimum API versionscreen_config= Flags marking screen configuration (like orientation)screen_size_dp= Flags marking smallest width constraints
A default configuration is defined as ResTypeConfig.new(0, 0, 0, 0, 0, 0, 0, 0)
Instance Attribute Summary collapse
-
#imsi ⇒ Object
Returns the value of attribute imsi.
-
#input ⇒ Object
Returns the value of attribute input.
-
#locale ⇒ Object
Returns the value of attribute locale.
-
#screen_config ⇒ Object
Returns the value of attribute screen_config.
-
#screen_size ⇒ Object
Returns the value of attribute screen_size.
-
#screen_size_dp ⇒ Object
Returns the value of attribute screen_size_dp.
-
#screen_type ⇒ Object
Returns the value of attribute screen_type.
-
#version ⇒ Object
Returns the value of attribute version.
Instance Attribute Details
#imsi ⇒ Object
Returns the value of attribute imsi
107 108 109 |
# File 'lib/apktools/apkresources.rb', line 107 def imsi @imsi end |
#input ⇒ Object
Returns the value of attribute input
107 108 109 |
# File 'lib/apktools/apkresources.rb', line 107 def input @input end |
#locale ⇒ Object
Returns the value of attribute locale
107 108 109 |
# File 'lib/apktools/apkresources.rb', line 107 def locale @locale end |
#screen_config ⇒ Object
Returns the value of attribute screen_config
107 108 109 |
# File 'lib/apktools/apkresources.rb', line 107 def screen_config @screen_config end |
#screen_size ⇒ Object
Returns the value of attribute screen_size
107 108 109 |
# File 'lib/apktools/apkresources.rb', line 107 def screen_size @screen_size end |
#screen_size_dp ⇒ Object
Returns the value of attribute screen_size_dp
107 108 109 |
# File 'lib/apktools/apkresources.rb', line 107 def screen_size_dp @screen_size_dp end |
#screen_type ⇒ Object
Returns the value of attribute screen_type
107 108 109 |
# File 'lib/apktools/apkresources.rb', line 107 def screen_type @screen_type end |
#version ⇒ Object
Returns the value of attribute version
107 108 109 |
# File 'lib/apktools/apkresources.rb', line 107 def version @version end |