API Reference [1]
PUBLISHED
Click here [2] to open the Tizen C# API reference [2]
API Overview
Tizen .NET provides a rich set of interfaces allowing you to build compelling mobile applications which achieve native performance. The programming environment includes the following:
- .NET Core Framework (also known as CoreFX), which implements the .NET Base Class library, allows you to use the well known C# language base class libraries and features, such as collections, threading, file I/O, and LINQ.
- Xamarin.Forms, which allows you to efficiently build a user interface from standard components in C# or XAML.
- Tizen platform-specific APIs, which allow you to access platform-specific features not covered by the generic .NET and Xamarin.Forms features, such as system information and status, battery status, sensor date, and account and connectivity services.
.NET Core Framework (CoreFX)
One of the major components of .NET Core is the .NET Core Framework or CoreFX. Tizen .NET implements CoreFX.
The .NET APIs provided by Tizen .NET follow the .NET Standard 1.6. The column titled "1.6" in the official list [3] of supported CoreFX APIs lists all the available .NET APIs.
Xamarin.Forms
Xamarin.Forms [4] provides cross-platform APIs, which allow you to create user interfaces that can be shared across platforms. The Tizen .NET Visual Studio plugin enables Tizen support for Xamarin.Forms.
You can efficiently build your Tizen .NET application UI and its supporting logic using the Xamarin.Forms APIs. Extended details for these APIs are available on the Xamarin Web site [5].
The Tizen .NET preview contains a few limitations on the Xamarin.Forms APIs; these limitations are to be eliminated in future releases. The following classes are not supported:
AppLinkEntry
PinchGestureRecognizer
PanGestureRecognizer
OpenGLView
WebView
OnPlatform<T>
PlatformEffect<TContainer, TControl>
A list of limitations is available at Current Xamarin.Forms limitations [6].
Tizen Platform-specific APIs
The Tizen platform APIs allow applications to call into platform-specific functionality from the shared code. This functionality enables Xamarin.Forms applications to do things a native application can do, without causing the portable part of the application to become littered with operating system-specific details.
The following table lists the supported Tizen platform-specific API namespaces. For the full specification, see the Tizen C# API [7].
API group
|
Description
|
---|---|
Applications | Provides the Tizen application framework, including application state change events, inter-application messaging, and notification services. |
Common | Provides predefined color names. |
Content | Provides content management services, such as file and media downloads, storing and indexing audio and video content, and associating content types with helper applications. |
Location | Manages geographical location services and geofencing. |
Multimedia | Interacts with media services, including audio playback, recording and device policy, cameras, and video players. |
Network | Provides APIs to control connectivity devices, such as Bluetooth, NFC, Wi-Fi, and an IoT interface service. |
Security | Provides access to secure storage for passwords, keys, certificates, and other sensitive data. |
System | Provides device-specific services, including status, system information and settings, control of haptic devices and sensor control and access. |