// %BANNER_BEGIN%
// ---------------------------------------------------------------------
// %COPYRIGHT_BEGIN%
// Copyright (c) (2018-2023) Magic Leap, Inc. All Rights Reserved.
// Use of this file is governed by the Software License Agreement, located here: https://www.magicleap.com/software-license-agreement-ml2
// Terms and conditions applicable to third-party materials accompanying this distribution may also be found in the top-level NOTICE file appearing herein.
// %COPYRIGHT_END%
// ---------------------------------------------------------------------
// %BANNER_END%
using UnityEngine.XR.MagicLeap.Native;
namespace UnityEngine.XR.MagicLeap
{
using System.Runtime.InteropServices;
///
/// MLHeadsetFit description goes here.
///
public partial class MLNotifications
{
///
/// See ml_system_notification_manager.h for additional comments.
///
private class NativeBindings : Native.MagicLeapNativeBindings
{
///
/// Create System Notification manager client.
///
[DllImport(MLNotificationsManagerDll, CallingConvention = CallingConvention.Cdecl)]
public static extern MLResult.Code MLSystemNotificationManagerCreate(out ulong handle);
///
/// Destroy System Notification manager client.
///
[DllImport(MLNotificationsManagerDll, CallingConvention = CallingConvention.Cdecl)]
public static extern MLResult.Code MLSystemNotificationManagerDestroy(ulong handle);
///
/// Suppress/Unsuppress System Notifications.
///
[DllImport(MLNotificationsManagerDll, CallingConvention = CallingConvention.Cdecl)]
public static extern MLResult.Code MLSystemNotificationManagerSetNotifications(ulong handle, bool suppress);
}
}
}