setBadge method

ApnsMpnBuilder setBadge(
  1. String? val
)

Sets the aps.badge field with a string value.

  • val: A string to be used for the aps.badge field value, or nil to clear it.

Implementation

ApnsMpnBuilder setBadge(String? val) {
  _badge = val;
  return this;
}