mirror of
https://github.com/WiVRn/WiVRn.git
synced 2026-11-20 09:01:39 -08:00
Native USB networking for Quest
Requires Horizon OS >= 2.6
This commit is contained in:
1 parent
8333322cd2
commit
8738131fb1
21 files changed
+317
-93
No files matched your search
@@ -0,0 +1,26 @@
|
||||
package org.meumeu.wivrn;
|
||||
|
||||
public class NetworkInfoCallback extends android.net.ConnectivityManager.NetworkCallback
|
||||
{
|
||||
@Override
|
||||
public native void onAvailable(android.net.Network network);
|
||||
|
||||
@Override
|
||||
public native void onBlockedStatusChanged(android.net.Network network, boolean blocked);
|
||||
|
||||
@Override
|
||||
public native void onCapabilitiesChanged(android.net.Network network, android.net.NetworkCapabilities caps);
|
||||
|
||||
@Override
|
||||
public native void onLinkPropertiesChanged(android.net.Network network, android.net.LinkProperties props);
|
||||
|
||||
@Override
|
||||
public native void onLosing(android.net.Network network, int maxMsToLive);
|
||||
|
||||
@Override
|
||||
public native void onLost(android.net.Network network);
|
||||
|
||||
@Override
|
||||
public native void onUnavailable();
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user