BlackBerry Dynamics for .NET Maui  12.0.0.9
Runtime library for .NET Maui applications
BBDXamarinForms.Common.Interfaces.Push.Enums Namespace Reference

Enumerations

enum  BBDPushChannelState {
  BBDPushChannelState.BBDPushChannelStateNone, BBDPushChannelState.BBDPushChannelStateOpen, BBDPushChannelState.BBDPushChannelStateClosed,
  BBDPushChannelState.BBDPushChannelStateError
}
 Use these enumerated constants to check the state of a Push Channel. The State property always takes one of these values. More...
 

Enumeration Type Documentation

◆ BBDPushChannelState

Use these enumerated constants to check the state of a Push Channel. The State property always takes one of these values.

Enumerator
BBDPushChannelStateNone 


Initial state, before opening.

BBDPushChannelStateOpen 

The Push Channel is open. The ConnectAsync function has been called and a Push Channel token has been issued. A message could be received on the channel.

BBDPushChannelStateClosed 

The Push Channel is closed. The channel could have been closed by the remote end, or the application could have called DisconnectAsync.

BBDPushChannelStateError 

There is an error on the Push Channel. If the initial connect fails, the channel enters this state instead of the open state. A channel can also enter this state later, after entering the open state, if a permanent error occurs.

If a Push Channel token had been issued, then it cannot be used anymore. No (more) Push Channel messages will be received on this channel.