This will remove an application or plug-in from the list that should receive generic event callbacks for the type indicated (See RegisterGenericEventCB).
Parameter: Generic
Type
Type: string
Description: This is the generic type string that was used to register
the callback with RegisterGenericEventCB.
Parameter: Object
Name
Type: string
Description: This string should contain the name of the object as it was
obtained by HomeSeer when RegisterGenericEventCB
was called. The
specific name is input here instead of the object so that the UnRegister
can take place even if the original object was destroyed.
None.
' Unregister a generic callback or two...
Sub UnRegisterGeneric()
hs.UnRegisterGenericEventCB "MyPlugEvent",
PI_Name
' Or to receive all Generic Types...
hs.UnRegisterGenericEventCB "*", PI_Name
End Sub