Beispiel #1
0
 /**
  * Set a camera property
  *
  * @param ref Reference to the camera/image/liveview object
  * @param property ID of the property
  * @param param
  * @param value New property value.
  * @return Result of the operation, normally {@link EdsError#EDS_ERR_OK}
  */
 public static EdsError setPropertyData(
     final EdsBaseRef ref,
     final EdsPropertyID property,
     final long param,
     final DescriptiveEnum<? extends Number> value) {
   return CanonUtils.setPropertyDataAdvanced(ref, property, param, value.value().longValue());
 }
Beispiel #2
0
 public static EdsError setPropertyDataAdvanced(
     final EdsBaseRef ref, final EdsPropertyID property, final Object value) {
   return CanonUtils.setPropertyDataAdvanced(ref, property, 0, value);
 }
Beispiel #3
0
 /**
  * Set a camera property
  *
  * @param ref Reference to the camera/image/liveview object
  * @param property ID of the property
  * @param param
  * @param value New property value.
  * @return Result of the operation, normally {@link EdsError#EDS_ERR_OK}
  */
 public static EdsError setPropertyData(
     final EdsBaseRef ref, final EdsPropertyID property, final long param, final long value) {
   return CanonUtils.setPropertyDataAdvanced(ref, property, param, value);
 }