iphoneSetNotificationBadgeValue

Typecommand
DictionaryLCS
LibraryLiveCode Script
Syntax
iphoneSetNotificationBadgeValue <badgeValue>
Summary

Sets the badge value of the Application Badge.

Introduced5.5
OSios
Platformsmobile
Parameters
NameTypeDescription
badgeValue

A positive integer or zero.

Example
iphoneSetNotificationBadgeValue 10
iphoneSetNotificationBadgeValue 0
RelatedFunction: iphoneGetNotificationBadgeValue
Glossary: command
Description

Use the iphoneSetNotificationBadgeValue command to change the value of the Application Badge Value.

This command sets the Badge Value of the application to the integer value specified. If the value is positive the badge and the value are displayed next to the application icon. If the badge is 0 (zero), then the badge is hidden.

Tagsnetworking