* @brief Returns true when the current runtime has a valid Pro-or-higher license. */
| 453 | * @brief Returns true when the current runtime has a valid Pro-or-higher license. |
| 454 | */ |
| 455 | [[nodiscard]] static bool isProTierActive() |
| 456 | { |
| 457 | #ifdef BUILD_COMMERCIAL |
| 458 | const auto& tk = Licensing::CommercialToken::current(); |
| 459 | return tk.isValid() && SS_LICENSE_GUARD() && tk.featureTier() >= Licensing::FeatureTier::Trial; |
| 460 | #else |
| 461 | return false; |
| 462 | #endif |
| 463 | } |
| 464 | |
| 465 | /** |
| 466 | * @brief Resolves positional notify* arguments into (channel, title, subtitle). |
no test coverage detected