// /*=============================================================================== // Copyright (C) 2020 PhantomsXR Ltd. All Rights Reserved. // // This file is part of the AR-MOD SDK. // // The AR-MOD SDK cannot be copied, distributed, or made available to // third-parties for commercial purposes without written permission of PhantomsXR Ltd. // // Contact info@phantomsxr.com for licensing requests. // ===============================================================================*/ using System; using System.Threading.Tasks; namespace Phantom.XRMOD.ActionNotification.Runtime { public class BaseNotificationData : IDisposable { /// /// Callback without return data. Execute after receiving notification message /// public Action NotificationAct; /// /// Callback with return data. Execute after received notification message /// public Action NotificationActWithData; public Func> NotificationAsyncWithData; /// /// Type of action /// public string ActionName; /// /// meta data /// public string BaseData; /// /// Universal data /// public Object ObjectData; public virtual void Dispose() { NotificationAct = null; ActionName = null; BaseData = null; NotificationAsyncWithData = null; } } }