OpenHome.Net.Device.DvProvider.EnableAction C# (CSharp) Method

EnableAction() protected method

Register an action as available. The action will be published as part of the owning device's service xml
protected EnableAction ( OpenHome aAction, ActionDelegate aDelegate, IntPtr aPtr ) : void
aAction OpenHome Action being registered as availabke
aDelegate ActionDelegate Delegate to call when the action is invoked
aPtr System.IntPtr Data to pass to the delegate
return void
        protected void EnableAction(OpenHome.Net.Core.Action aAction, ActionDelegate aDelegate, IntPtr aPtr)
        {
            iActions.Add(aAction);
            DvProviderAddAction(iHandle, aAction.Handle(), aDelegate, aPtr);
        }