Namespace nnjl.PlatformService
PlatformService Operations
Defined in: nnjl.js.
| Constructor Attributes | Constructor Name and Description |
|---|---|
| Field Attributes | Field Name and Description |
|---|---|
| <static> |
nnjl.PlatformService.BlackBerry
BlackBerry
|
| <static> |
nnjl.PlatformService.Gecko
Gecko browser engine (Firefox)
|
| <static> |
nnjl.PlatformService.IE
Microsoft Internet Explorer
|
| <static> |
nnjl.PlatformService.MobileSafari
Mobile Safari (Iphone)
|
| <static> |
nnjl.PlatformService.NNJL_BB
NNJL BB PLATFORM
|
| <static> |
nnjl.PlatformService.NNJL_WEB
NNJL WEB PLATFORM
|
| <static> |
nnjl.PlatformService.Opera
Opera Browser
|
| <static> |
nnjl.PlatformService.WebKit
WebKit browser (Safari, Chrome, etc)
|
| Method Attributes | Method Name and Description |
|---|---|
| <static> |
nnjl.PlatformService.getPlatform()
Return the platform
|
| <static> |
nnjl.PlatformService.isBbPlatform(platform)
Return if the platform is a BlackBerry device
|
| <static> |
nnjl.PlatformService.isWebPlatform(platform)
Return if the platform is a computer browser or not
|
Field Detail
<static>
{string}
nnjl.PlatformService.BlackBerry
BlackBerry
<static>
{string}
nnjl.PlatformService.Gecko
Gecko browser engine (Firefox)
<static>
{string}
nnjl.PlatformService.IE
Microsoft Internet Explorer
<static>
{string}
nnjl.PlatformService.MobileSafari
Mobile Safari (Iphone)
<static>
{string}
nnjl.PlatformService.NNJL_BB
NNJL BB PLATFORM
<static>
{string}
nnjl.PlatformService.NNJL_WEB
NNJL WEB PLATFORM
<static>
{string}
nnjl.PlatformService.Opera
Opera Browser
<static>
{string}
nnjl.PlatformService.WebKit
WebKit browser (Safari, Chrome, etc)
Method Detail
<static>
{string}
nnjl.PlatformService.getPlatform()
Return the platform
- Returns:
- {string} Return the name of the platform
<static>
{boolean}
nnjl.PlatformService.isBbPlatform(platform)
Return if the platform is a BlackBerry device
- Parameters:
- platform
- Returns:
- {boolean}
<static>
{boolean}
nnjl.PlatformService.isWebPlatform(platform)
Return if the platform is a computer browser or not
- Parameters:
- platform
- Returns:
- {boolean}