class AirLinkKey
@Keep class AirLinkKey extends DJIAirlinkKey
|
| 包: | dji.sdk.keyvalue.key |
| 继承自: | DJIAirlinkKey |
描述:
AirLinkKey提供了一组方法来设置和获取图传参数。包括获取工作频段,信道模式,下行带宽,信号状态等功能。关于图传码流和多媒体相关的功能,请调用IMediaDataCenter相关接口实现。
MSDK 5.0.0开始支持
类成员:
基础信息
final KeyConnection
static final DJIKeyInfo<Boolean> KeyConnection = new DJIKeyInfo<>(componentType.value(),subComponentType.value(),"Connection", SingleValueConverter.BooleanConverter).canGet(true).canSet(false).canListen(true).canPerformAction(false).setIsEvent(false)
|
描述:
参数: Boolean
true表示图传已连接。
MSDK 5.0.0开始支持
final KeyAirLinkType
static final DJIKeyInfo<AirLinkType> KeyAirLinkType = new DJIKeyInfo<>(componentType.value(),subComponentType.value(),"AirLinkType", new SingleValueConverter<>(AirLinkType.class,AirLinkTypeMsg.class)).canGet(true).canSet(false).canListen(true).canPerformAction(false).setIsEvent(false)
|
描述:
参数: AirLinkType
获取图传类型。
MSDK 5.0.0开始支持
final KeySignalQuality
static final DJIKeyInfo<Integer> KeySignalQuality = new KeySignalQuality() .canGet(true).canSet(false).canListen(true).canPerformAction(false).setIsEvent(false)
|
描述:
参数: Integer
获取图传信号质量,单位:百分比。如果获取到的信号质量小于40%,则表示当前信号质量差;如果获取到的信号质量在40%和60%之间,则表示当前信号质量普通;如果获取到的信号质量大于60%,则表示当前的信号质量好。
MSDK 5.0.0开始支持
final KeyDynamicDataRate
static final DJIKeyInfo<Double> KeyDynamicDataRate = new DJIKeyInfo<>(componentType.value(),subComponentType.value(),"DynamicDataRate", SingleValueConverter.DoubleConverter).canGet(true).canSet(false).canListen(true).canPerformAction(false).setIsEvent(false)
|
描述:
参数: Double
获取图传码率,单位:Mbps。该码率是无线下行链路(飞行器到遥控器)的图传传输速率。
MSDK 5.0.0开始支持
基本设置
final KeyFrequencyBandRange
static final DJIKeyInfo<List<FrequencyBand>> KeyFrequencyBandRange = new DJIKeyInfo<>(componentType.value(),subComponentType.value(),"FrequencyBandRange", new SingleValueConverter<>((Class)List.class,AirlinkFrequencyBandRangeMsg.class)).canGet(true).canSet(false).canListen(true).canPerformAction(false).setIsEvent(false).setInnerIdentifier("AirlinkFrequencyBandRange")
|
描述:
参数: List<FrequencyBand>
获取图传可用频段。
MSDK 5.0.0开始支持
final KeyFrequencyBand
static final DJIKeyInfo<FrequencyBand> KeyFrequencyBand = new DJIKeyInfo<>(componentType.value(),subComponentType.value(),"FrequencyBand", new SingleValueConverter<>(FrequencyBand.class,AirlinkFrequencyBandMsg.class)).canGet(true).canSet(true).canListen(true).canPerformAction(false).setIsEvent(false).setInnerIdentifier("AirlinkFrequencyBand")
|
描述:
参数: FrequencyBand
设置图传工作频段。
MSDK 5.0.0开始支持
final KeyChannelSelectionMode
static final DJIKeyInfo<ChannelSelectionMode> KeyChannelSelectionMode = new DJIKeyInfo<>(componentType.value(),subComponentType.value(),"ChannelSelectionMode", new SingleValueConverter<>(ChannelSelectionMode.class,ChannelSelectionModeMsg.class)).canGet(true).canSet(true).canListen(true).canPerformAction(false).setIsEvent(false)
|
描述:
参数: ChannelSelectionMode
信道模式设置,支持自动选择和自定义模式。
MSDK 5.0.0开始支持
final KeyChannelPriority
static final DJIKeyInfo<List<ChannelPriorityParam>> KeyChannelPriority = new DJIKeyInfo<>(componentType.value(),subComponentType.value(),"ChannelPriority", new SingleValueConverter<>((Class)List.class,ChannelPriorityMsg.class)).canGet(false).canSet(true).canListen(false).canPerformAction(false).setIsEvent(false)
|
描述:
参数: ChannelPriority
通道优先级设置。
MSDK 5.0.0开始支持
final KeyBandwidth
static final DJIKeyInfo<Bandwidth> KeyBandwidth = new DJIKeyInfo<>(componentType.value(),subComponentType.value(),"Bandwidth", new SingleValueConverter<>(Bandwidth.class,AirlinkBandwidthMsg.class)).canGet(true).canSet(true).canListen(true).canPerformAction(false).setIsEvent(false).setInnerIdentifier("AirlinkBandwidth")
|
描述:
参数: Bandwidth
设置图传下行带宽,只有在KeyChannelSelectionMode为MANUAL时才能设置。
MSDK 5.0.0开始支持
final KeyFrequencyPointRange
static final DJIKeyInfo<IntMinMax> KeyFrequencyPointRange = new DJIKeyInfo<>(componentType.value(),subComponentType.value(),"FrequencyPointRange", new DJIValueConverter<>(IntMinMax.class)).canGet(true).canSet(false).canListen(true).canPerformAction(false).setIsEvent(false).setInnerIdentifier("FrequencyPointIndexRange")
|
描述:
参数: IntValueConfig
获取可设置的频点范围。
MSDK 5.0.0开始支持
final KeyFrequencyPoint
static final DJIKeyInfo<Integer> KeyFrequencyPoint = new DJIKeyInfo<>(componentType.value(),subComponentType.value(),"FrequencyPoint", SingleValueConverter.IntegerConverter).canGet(true).canSet(true).canListen(true).canPerformAction(false).setIsEvent(false).setInnerIdentifier("FrequencyPointIndex")
|
描述:
参数: Integer
设置频点。只有在KeyChannelSelectionMode为MANUAL时才能设置。可通过KeyFrequencyPointRange获取可设置的信道频点。调用KeyFrequencyInterference获取干扰低的信道,然后选择这个信道对应的频点区间中的频点进行设置。
MSDK 5.0.0开始支持
无线链路管理
final KeyWlmLinkQualityLevel
static final DJIKeyInfo<WlmLinkQualityLevelInfo> KeyWlmLinkQualityLevel = new DJIKeyInfo<>(componentType.value(),subComponentType.value(),"WlmLinkQualityLevel", new DJIValueConverter<>(WlmLinkQualityLevelInfo.class)).canGet(true).canSet(false).canListen(true).canPerformAction(false).setIsEvent(false).setInnerIdentifier("WlmLinkQuality")
|
描述:
参数: WlmLinkQualityLevelInfo
获取无线链路管理信号质量等级。可通过此接口获取OcuSync链路和LTE链路的信号质量等级。
注意:
建议使用功能更加完善的ILTEManager,支持LTE认证,开启和关闭增强图传的功能。
MSDK 5.1.0开始支持
final KeyWlmAircraftDongleListInfo
static final DJIKeyInfo<WlmDongleListInfo> KeyWlmAircraftDongleListInfo = new DJIKeyInfo<>(componentType.value(),subComponentType.value(),"WlmAircraftDongleListInfo", new DJIValueConverter<>(WlmDongleListInfo.class)).canGet(true).canSet(false).canListen(true).canPerformAction(false).setIsEvent(false).setInnerIdentifier("WlmUavDongleInfo")
|
描述:
参数: WlmDongleListInfo
获取飞行器端的LTE Dongle列表信息。可通过此接口获取插在飞行器端的dongle的信息和工作状态。
注意:
建议使用功能更加完善的ILTEManager,支持LTE认证,开启和关闭增强图传的功能。
MSDK 5.1.0开始支持
final KeyWlmRcDongleListInfo
static final DJIKeyInfo<WlmDongleListInfo> KeyWlmRcDongleListInfo = new DJIKeyInfo<>(componentType.value(),subComponentType.value(),"WlmRcDongleListInfo", new DJIValueConverter<>(WlmDongleListInfo.class)).canGet(true).canSet(false).canListen(true).canPerformAction(false).setIsEvent(false).setInnerIdentifier("WlmRcDongleInfo")
|
描述:
参数: WlmDongleListInfo
获取遥控器端的LTE Dongle列表信息。可通过此接口获取插在遥控器端的dongle的信息和工作状态。
注意:
建议使用功能更加完善的ILTEManager,支持LTE认证,开启和关闭增强图传的功能。
MSDK 5.1.0开始支持