toggle Subscription Status
fun toggleSubscriptionStatus(context: Context?, statusChangedCallback: (newStatus: Boolean?) -> Unit? = null)(source)
Toggles the subscription status of an item.
Parameters
context
The context to use for operations.
status Changed Callback
A callback that is invoked when the subscription status changes. It provides the new subscription status (true if subscribed, false if unsubscribed, null if action was canceled).