# maximumBannerSizeLandscape

### Overview <a href="#markdown-header-overview" id="markdown-header-overview"></a>

Returns the [banner size](https://aatkit.gitbook.io/aatkit-react-native-integration/other/reference/other/banner-sizes) with maximum width that will fit on a given device in landscape screen orientation.

### Syntax <a href="#markdown-header-syntax" id="markdown-header-syntax"></a>

```javascript
maximumBannerSizeLandscape(Callback callback)
```

**CALLBACK(REQUIRED)**

*Callback\<string>* Used to provide the function call result to JavaScript.

Parameters:

* **string** - [Banner size](https://aatkit.gitbook.io/aatkit-react-native-integration/other/reference/other/banner-sizes) best fitting current device.

### Examples <a href="#markdown-header-examples" id="markdown-header-examples"></a>

```javascript
RNAatkit.maximumBannerSizeLandscape((size) => {
                console.log("maximumBannerSizeLandscape " + size);
            });
```
