ProMiles.PlatformScience.Binding
1.3.4
Use Platform Science libraries from .NET 8. Uses latest from Platform Science
There is a newer version of this package available.
See the version list below for details.
See the version list below for details.
Install-Package ProMiles.PlatformScience.Binding -Version 1.3.4
dotnet add package ProMiles.PlatformScience.Binding --version 1.3.4
<PackageReference Include="ProMiles.PlatformScience.Binding" Version="1.3.4" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add ProMiles.PlatformScience.Binding --version 1.3.4
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: ProMiles.PlatformScience.Binding, 1.3.4"
#r directive can be used in F# Interactive, C# scripting and .NET Interactive. Copy this into the interactive tool or source code of the script to reference the package.
// Install ProMiles.PlatformScience.Binding as a Cake Addin
#addin nuget:?package=ProMiles.PlatformScience.Binding&version=1.3.4
// Install ProMiles.PlatformScience.Binding as a Cake Tool
#tool nuget:?package=ProMiles.PlatformScience.Binding&version=1.3.4
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
Implemented UserProfileBroadcast_34 based on UserProfileBroadcast. Changed "register" method to:
public synchronized void register(Context context, ICallback callback) {
IntentFilter filter = new IntentFilter("com.pltsci.pscoresdk.broadcast.user_profile_data");
if (!this.registered) {
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.TIRAMISU) { // Android 13 and above
context.registerReceiver(receiver, filter, Context.RECEIVER_EXPORTED);
} else {
ContextCompat.registerReceiver(context, receiver, filter, ContextCompat.RECEIVER_NOT_EXPORTED);
}
this.callback = callback;
this.registered = true;
}
}
Implemented UserProfileBroadcast_34 based on UserProfileBroadcast. Changed "register" method to:
public synchronized void register(Context context, ICallback callback) {
IntentFilter filter = new IntentFilter("com.pltsci.pscoresdk.broadcast.user_profile_data");
if (!this.registered) {
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.TIRAMISU) { // Android 13 and above
context.registerReceiver(receiver, filter, Context.RECEIVER_EXPORTED);
} else {
ContextCompat.registerReceiver(context, receiver, filter, ContextCompat.RECEIVER_NOT_EXPORTED);
}
this.callback = callback;
this.registered = true;
}
}
Dependencies
-
net8.0-android34.0
- GoogleGson (>= 2.10.1.7)
- Xamarin.AndroidX.AppCompat (>= 1.6.1.6)
- Xamarin.AndroidX.Collection.Jvm (>= 1.3.0.2)
- Xamarin.AndroidX.Collection.Ktx (>= 1.3.0.2)
- Xamarin.Google.Android.Material (>= 1.9.0.3)
- Xamarin.KotlinX.Serialization.Protobuf (>= 1.7.3.1)
Used By
NuGet packages
This package is not used by any NuGet packages.