setTimeToLive method

FirebaseMpnBuilder setTimeToLive(
  1. String? timeToLive
)

Sets the android.ttl field with a string value.

  • timeToLive A string to be used for the android.ttl field value, or null to clear it.

Returns this MpnBuilder object, for fluent use.

Implementation

FirebaseMpnBuilder setTimeToLive(String? timeToLive) {
  _timeToLive = timeToLive;
  return this;
}