Initializes a new instance of the ActivityChangedEventArgs class.
Namespace: S22.Xmpp.ExtensionsAssembly: S22.Xmpp (in S22.Xmpp.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
C# |
---|
public ActivityChangedEventArgs( Jid jid, GeneralActivity activity, SpecificActivity specific = SpecificActivity.Other, string description = null ) |
Parameters
- jid
- Type: S22.Xmpp..::..Jid
The JID of the XMPP entity that published the activity information.
- activity
- Type: S22.Xmpp.Extensions..::..GeneralActivity
One of the values from the GeneralActivity enumeration.
- specific (Optional)
- Type: S22.Xmpp.Extensions..::..SpecificActivity
A value from the SpecificActivity enumeration best describing the user's activity in more detail.
- description (Optional)
- Type: System..::..String
A natural-language description of, or reason for, the activity.
Exceptions
Exception | Condition |
---|---|
System..::..ArgumentNullException | The jid parameter is null. |