IamUtil.GetNotificationCategoriesAsync()

DESCRIPTION

Get available push notification categories on device.

DECLARATION

System.Threading.Tasks.Task`1[System.Collections.Generic.List`1[System.String]] GetNotificationCategoriesAsync(Nabto.Edge.Client.IConnection)

PARAMETERS

  • connection: An established connection to the device

ERRORS

  • T:Nabto.Edge.ClientIam.IamException: Thrown with Nabto.Edge.ClientIam.IamError if the user is not allowed to perform this operation.
  • T:Nabto.Edge.ClientIam.IamException: Thrown with Nabto.Edge.ClientIam.IamError if Nabto Edge IAM is not supported by the device.

RETURNS

A list of notification categories available on the device.