Class: Google::Apis::AndroidpublisherV3::CompatibleScreen

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

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

#densityString

Screen density. Corresponds to the JSON property density

Returns:

  • (String)


2429
2430
2431
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 2429

def density
  @density
end

#screen_sizeString

The screen size. Corresponds to the JSON property screenSize

Returns:

  • (String)


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