Class: Google::Apis::AndroidpublisherV3::CompatibleScreen
- Inherits:
-
Object
- Object
- Google::Apis::AndroidpublisherV3::CompatibleScreen
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/androidpublisher_v3/classes.rb,
lib/google/apis/androidpublisher_v3/representations.rb,
lib/google/apis/androidpublisher_v3/representations.rb
Overview
Compatible screens as listed in the compatible-screens Manifest tag.
Instance Attribute Summary collapse
-
#density ⇒ String
Screen density.
-
#screen_size ⇒ String
The screen size.
Instance Method Summary collapse
-
#initialize(**args) ⇒ CompatibleScreen
constructor
A new instance of CompatibleScreen.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ CompatibleScreen
Returns a new instance of CompatibleScreen.
2436 2437 2438 |
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 2436 def initialize(**args) update!(**args) end |
Instance Attribute Details
#density ⇒ String
Screen density.
Corresponds to the JSON property density
2429 2430 2431 |
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 2429 def density @density end |
#screen_size ⇒ String
The screen size.
Corresponds to the JSON property screenSize
2434 2435 2436 |
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 2434 def screen_size @screen_size end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2441 2442 2443 2444 |
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 2441 def update!(**args) @density = args[:density] if args.key?(:density) @screen_size = args[:screen_size] if args.key?(:screen_size) end |