Beispiel #1
0
 protected override Provider CreateProvider()
 {
     m_Provider = new MagicLeapProvider();
     return(m_Provider);
 }
 /// <summary>
 /// Checks to see whether the native provider is valid and whether permission has been granted.
 /// </summary>
 /// <returns>
 /// <c>true</c> if the native provider has been instantiated and has a valid native resource.
 /// </returns>
 /// <remarks>
 /// There are a number of reasons for false.  Either privileges were denied or the device experienced
 /// and internal error and was not able to create the native tracking resource.  Should the latter be
 /// the case, native error logs will have more information.
 /// </remarks>
 public bool IsValid() => MagicLeapProvider.IsSubsystemStateValid();