AWS SDK for Go (PILOT)
API Reference

PREVIEW DOCUMENTATION - This is a preview of a new format for the AWS SDK for Go API Reference documentation. For the current AWS SDK for Go API Reference, see https://docs.aws.amazon.com/sdk-for-go/api/.

We welcome your feedback on this new version of the documentation. Send your comments to aws-sdkdocs-feedback@amazon.com.

Resolution

import "github.com/aws/aws-sdk-go/service/devicefarm"

type Resolution struct { Height *int64 `locationName:"height" type:"integer"` Width *int64 `locationName:"width" type:"integer"` }

Represents the screen resolution of a device in height and width, expressed in pixels.

Height

Type: *int64

The screen resolution's height, expressed in pixels.

Width

Type: *int64

The screen resolution's width, expressed in pixels.

Method

GoString

func (s Resolution) GoString() string

GoString returns the string representation

SetHeight

func (s *Resolution) SetHeight(v int64) *Resolution

SetHeight sets the Height field's value.

SetWidth

func (s *Resolution) SetWidth(v int64) *Resolution

SetWidth sets the Width field's value.

String

func (s Resolution) String() string

String returns the string representation

On this page: