DJI Mobile SDK Documentation

      class FlySafeNotification

      class FlySafeNotification
      Package:dji.common.flysafe.notification
      Description:

      This class contains DJI flying safety notification. The type indicates the type of notification. Check corresponding object for detail information.

      Class Members:
      method
      method getType
      FlySafeNotificationType getType()
      Package:dji.common.flysafe.notification
      Description:

      Returns the type of notification.

      Return:
      FlySafeNotificationTypeThe enum value of FlySafeNotificationType.
      method getNoticeInformation
      FlySafeTipInformation getNoticeInformation()
      Package:dji.common.flysafe.notification
      Description:

      Returns the notice information.

      Return:
      FlySafeTipInformationThe object of FlySafeTipInformation.
      method getWarningInformation
      FlySafeWarningInformation getWarningInformation()
      Package:dji.common.flysafe.notification
      Description:

      Returns the warning information.

      Return:
      FlySafeWarningInformationThe object of FlySafeWarningInformation.
      method getSeriousWarningInformation
      FlySafeSeriousWarningInformation getSeriousWarningInformation()
      Package:dji.common.flysafe.notification
      Description:

      Returns the serious warning information.

      Return:
      FlySafeSeriousWarningInformationThe object of FlySafeSeriousWarningInformation.
      method getReturnToHomeInformation
      FlySafeReturnToHomeInformation getReturnToHomeInformation()
      Package:dji.common.flysafe.notification
      Description:

      Returns the return to home information.

      Return:
      FlySafeReturnToHomeInformationThe object of FlySafeReturnToHomeInformation.
      State Updates
      class
      enum FlySafeNotificationType
      enum FlySafeNotificationType
      Package:dji.common.flysafe.notification
      Description:

      DJI Fly Safe notification types.

      Enum Members:
      RETURN_TO_HOMEDJI Fly Safe notification related to returning to home.
      FLYING_SAFETY_TIPDJI Fly Safe tip.
      WARNINGDJI Fly Safe warning notification.
      SERIOUS_WARNINGDJI Fly Safe serious warning notification.
      UNKNOWNDJI Fly Safe unknown notification type.
      Class Members: