This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Linq; | |
using System.Threading.Tasks; | |
using UnityEngine; | |
#if UNITY_WSA && !UNITY_EDITOR | |
using Windows.Storage; | |
using Windows.Media.Capture; | |
using Windows.Media.MediaProperties; | |
using Windows.Media.Capture.Frames; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#if UNITY_WSA && !UNITY_EDITOR | |
using System; | |
using System.Collections.Generic; | |
using System.Diagnostics; | |
using System.IO; | |
using System.Linq; | |
using System.Text; | |
using System.Threading.Tasks; | |
using Windows.AI.MachineLearning.Preview; | |
using Windows.Media; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections.Generic; | |
using System.Threading.Tasks; | |
using Windows.Media; | |
using Windows.Storage; | |
using Windows.AI.MachineLearning.Preview; | |
namespace MyNamespace | |
{ | |
public sealed class MyModelInput |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const webPush = require('web-push'); | |
const restify = require('restify'); | |
const builder = require('botbuilder'); | |
const fs = require('fs'); | |
const vapidKeyFilePath = "./vapidKey.json"; | |
var vapidKeys = {}; | |
if (fs.existsSync(vapidKeyFilePath)) { | |
//if the vapid file exists, then we try to parse its content |