Inside the AppDelegate.cs add the following: using System.Override public void ResumeNetworkActivity ()ĭebug.WriteLine ("ResumeNetworkActivity received", LogCategory) Override public void StopNetworkActivity ()ĭebug.WriteLine ("StopNetworkActivity received", LogCategory) Public static AirWatchSDKManager Instance ", profiles) ĭebug.WriteLine ("Wipe command received", LogCategory) ĭebug.WriteLine ("Lock command received", LogCategory) ĭebug.WriteLine ("Unlock command received", LogCategory) Private static string LogCategory = "AirWatchSDK" Private static AirWatchSDKManager instance Public class AirWatchSDKManager: AWSDKDelegate This class can be implemented as follows: using Foundation In the example above the class AirWatchSDKManager is used. Create a class to act as an AWSDKDelegate and receive SDK callbacks.In a similar manner, add another entry under LSApplicationQueriesSchemes for AWSSOBroker2.Within the Array click Add new entry at the bottom.Double click Custom Property and change it to LSApplicationQueriesSchemes.Click the green “PLUS” in the selected row.Set the values of identifier and URL Schemes to the desired callback scheme.In the URL Types section, click the Add URL Type button.Double-click the ist file in your project.In order to receive a call back from the AirWatch Agent, your application will need to expose a custom scheme in the ist. Ensure that the Assembly is Checked and click Ok.Select the AirWatchSDK.dll file from your file system.Net Assembly Tab and then click the Browse… button Right-click References and choose Edit References….In order to use the SDK, first add it to your Project. Tutorial Add Required SDK DLL to Xamarin Project AirWatch SDK Binding from the Xamarin Component Store.Important: You will need to download the SDK binary separately via. This tutorial will illustrate how to setup the SDK framework for those who have chosen the SDK approach.īefore moving forward to the SDK setup tutorial, ensure you have completed the instructions in the General Setup tutorial and uploaded your app with an assigned SDK profile. The steps in this tutorial are NOT required if you are using App Wrapping or approaches from. Getting Started > AirWatch SDK Setup (Xamarin iOS)
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |