Discovery Broadcast Addresses Provider
class DiscoveryBroadcastAddressesProvider(jellyfinOptions: JellyfinOptions)
Content copied to clipboard
Broadcast address provider definition that can be implemented to support different platforms for server discovery.
class DiscoveryBroadcastAddressesProvider(jellyfinOptions: JellyfinOptions)
Content copied to clipboard
A broadcast address provider that uses the WifiManager service to retrieve the broadcast address
class DiscoveryBroadcastAddressesProvider(jellyfinOptions: JellyfinOptions)
Content copied to clipboard
A broadcast address provider that works in the default JVM but not on Android
Constructors
DiscoveryBroadcastAddressesProvider
Link copied to clipboard
fun DiscoveryBroadcastAddressesProvider(jellyfinOptions: JellyfinOptions)
Content copied to clipboard
Functions
get Broadcast Addresses
Link copied to clipboard
Provide broadcast addresses
Retrieve the broadcast address using the Android WifiManager. Requires the ACCESS_WIFI_STATE permission which is not enabled by default.