isTablet

Overview

Checks if AATKit recognizes given device as tablet.

Syntax

isTablet(Callback callback)

CALLBACK(REQUIRED)

Callback<Boolean>. Used to provide the function call result to JavaScript.

Parameters:

  • boolean - True if device is recognized as tablet, false otherwise.

Examples

RNAatkit.isTablet((isTablet) => {
                console.log("isTablet " + isTablet);
            });

Last updated