Пример #1
0
        public void HandleSetMessageAttribute(INSetMessageAttributeIntent intent, Action <INSetMessageAttributeIntentResponse> completion)
        {
            // Implement your application logic to set the message attribute here.

            var userActivity = new NSUserActivity(nameof(INSetMessageAttributeIntent));
            var response     = new INSetMessageAttributeIntentResponse(INSetMessageAttributeIntentResponseCode.Success, userActivity);

            completion(response);
        }
Пример #2
0
		public void HandleSetMessageAttribute (INSetMessageAttributeIntent intent, Action<INSetMessageAttributeIntentResponse> completion)
		{
			// Implement your application logic to set the message attribute here.

			var userActivity = new NSUserActivity (nameof (INSetMessageAttributeIntent));
			var response = new INSetMessageAttributeIntentResponse (INSetMessageAttributeIntentResponseCode.Success, userActivity);
			completion (response);
		}