diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index e4a5f25..445ae65 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -8,7 +8,7 @@ on: push: branches: - main - - preview + #- preview # Allows you to run this workflow manually from the Actions tab workflow_dispatch: diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..5cde66b --- /dev/null +++ b/.gitignore @@ -0,0 +1,3 @@ + +.DS_Store +/.vs diff --git a/_config.yml b/_config.yml index 27f05ef..d88a629 100644 --- a/_config.yml +++ b/_config.yml @@ -14,18 +14,18 @@ dcv_android_api: /capture-vision/docs/mobile/programming/android/api-reference/ dcv_introduction: /capture-vision/docs/core/introduction/ -dce_android: /camera-enhancer/docs/mobile/programming/android/ -dce_ios: /camera-enhancer/docs/mobile/programming/ios/ +dce_android_api: /camera-enhancer/docs/mobile/programming/android/ +dce_ios_api: /camera-enhancer/docs/mobile/programming/ios/ -dcv_enums: /capture-vision/docs/core/enums/ +dcv_enumerations: /capture-vision/docs/core/enums/ ios: /document-normalizer/docs/mobile/programming/ios/ -ios_api: /document-normalizer/docs/mobile/programming/ios/api-reference/ +ddn_ios_api: /document-normalizer/docs/mobile/programming/ios/api-reference/ ios_release_notes: /document-normalizer/docs/mobile/programming/ios/release-notes/ ios_camera_enhancer: /document-normalizer/docs/mobile/programming/ios/api-reference/camera-enhancer/ android: /document-normalizer/docs/mobile/programming/android/ -android_api: /document-normalizer/docs/mobile/programming/android/api-reference/ +ddn_android_api: /document-normalizer/docs/mobile/programming/android/api-reference/ android_release_notes: /document-normalizer/docs/mobile/programming/android/release-notes/ android_camera_enhancer: /document-normalizer/docs/mobile/programming/android/api-reference/camera-enhancer/ diff --git a/_data/full_tree.yml b/_data/full_tree.yml index 2e2512f..9907bc1 100644 --- a/_data/full_tree.yml +++ b/_data/full_tree.yml @@ -1,7 +1,9 @@ tree_file_list: - sidelist-full-tree.html - sidelist-programming/programming-android.html + - sidelist-programming/programming-android-v2.0.20.html - sidelist-programming/programming-android-v1.0.30.html - sidelist-programming/programming-ios.html + - sidelist-programming/programming-ios-v2.0.20.html - sidelist-programming/programming-ios-v1.0.30.html - sidelist-programming/programming-xamarin.html diff --git a/_data/product_version.yml b/_data/product_version.yml index 782848e..eb28c62 100644 --- a/_data/product_version.yml +++ b/_data/product_version.yml @@ -1,11 +1,40 @@ +useGroupedVersion: true + version_info_list: - - latest version - - 1.0.30 - - 1.0.21 - - 1.0.20 - - 1.0.12 - - 1.0.11 - - 1.0.10 - - 1.0.0 + - value: latest version + - value: 2.x + child: + - 2.0.20_android + - 2.0.20_ios + - value: 1.x + child: + - 1.0.30_android + - 1.0.21_android + - 1.0.20_android + - 1.0.12_android + - 1.0.11_android + - 1.0.10_android + - 1.0.0_android + - 1.0.30_ios + - 1.0.21_ios + - 1.0.20_ios + - 1.0.12_ios + - 1.0.11_ios + - 1.0.10_ios + - 1.0.0_ios + - 1.0.5_xamarin + - 1.0.4_xamarin + - 1.0.3_xamarin + - 1.0.2_xamarin + - 1.0.1_xamarin + - 1.0.0_xamarin - \ No newline at end of file +# version_info_list_xamarin: +# - value: latest version (1.0.5) +# - value: 1.x +# child: +# - 1.0.4 +# - 1.0.3 +# - 1.0.2 +# - 1.0.1 +# - 1.0.0 diff --git a/_includes/api-reference/drawing-item-android.md b/_includes/api-reference/drawing-item-android.md deleted file mode 100644 index e33c45d..0000000 --- a/_includes/api-reference/drawing-item-android.md +++ /dev/null @@ -1,84 +0,0 @@ - - - -  - -## getDrawingStyleId - -Get the ID of the `DrawingStyle` that is applied on this `DrawingItem`. - -```java -public int getDrawingStyleId(); -``` - -**Return Value** - -An int value that representing the style ID. - -**Code Snippet** - -```java -int styleId = drawingItem.getDrawingStyleId(); -``` - -  - -## setDrawingStyleId - -Set a `DrawingStyle` by ID for the `DrawingItem`. - -```java -public void setDrawingStyleId(int style); -``` - -**Parameters** - -`style`: An int value that representing the style ID. - -**Code Snippet** - -```java -drawingItem.setDrawingStyleId(0); -``` - -  - -## getState - -Get the status of the `DrawingItem`. - -```java -public EnumDrawingItemState getState(); -``` - -**Return Value** - -The value that indicates the state of the `DrawingItem`. View all available `DrawingItem` states in [`EnumDrawingItemState`]({{ site.android_camera_enhancer }}enum-drawing-item-state.html). - -**Code Snippet** - -```java -EnumDrawingItemState state = drawingItem.getState(); -``` - -  - -## setState - -Set the status of the `DrawingItem`. - -```java -public void setState(EnumDrawingItemState state); -``` - -**Parameters** - -`state`: The value that indicates the state of the `DrawingItem`. View all available `DrawingItem` states in [`EnumDrawingItemState`]({{ site.android_camera_enhancer }}enum-drawing-item-state.html). - -**Code Snippet** - -```java -drawingItem.setState(EnumDrawingItemState.DIS_SELECTED) -``` - -  diff --git a/_includes/api-reference/drawing-item-ios.md b/_includes/api-reference/drawing-item-ios.md deleted file mode 100644 index 179c63b..0000000 --- a/_includes/api-reference/drawing-item-ios.md +++ /dev/null @@ -1,78 +0,0 @@ - - -  - -## drawingStyleId - -The property that identifies the ID of the `DrawingStyle`. - -
->- Objective-C ->- Swift -> ->1. -```objc -@property (assign, nonatomic) NSInteger drawingStyleId; -``` -2. -```swift -var drawingStyleId: Int { get set } -``` - -  - -## state - -The property that indicates the state of the `DrawingItem`. View all available `DrawingItem` states in [`EnumDrawingItemState`]({{ site.ios_camera_enhancer }}enum-drawing-item-state.html). - -
->- Objective-C ->- Swift -> ->1. -```objc -@property (assign, nonatomic) EnumDrawingItemState state; -``` -2. -```swift -var state: EnumDrawingItemState { get set } -``` - -  - -## getMediaType - -Get the media type of the `DrawingItem`. - -
->- Objective-C ->- Swift -> ->1. -```objc -- (EnumDrawingItemMediaType) getMediaType; -``` -2. -```swift -func getMediaType() -> EnumDrawingItemMediaType -``` - -**Return Value** - -The media type of the `DrawingItem`. - -**Code Snippet** - -
->- Objective-C ->- Swift -> ->1. -```objc -EnumDrawingItemMediaType mediaType = [drawingItem getMediaType]; -``` -2. -```swift -let mediaType = drawingItem.getMediaType() -``` - diff --git a/_includes/sidelist-programming/programming-android-v1.0.30.html b/_includes/sidelist-programming/programming-android-v1.0.30.html index 2718b48..16d41a9 100644 --- a/_includes/sidelist-programming/programming-android-v1.0.30.html +++ b/_includes/sidelist-programming/programming-android-v1.0.30.html @@ -7,31 +7,31 @@
  • HelloWorld
  • -
  • API Reference +
  • API Reference
  • -
  • API Reference +
  • API Reference
  • -
  • API Reference +
  • API Reference
  • -
  • API Reference +
  • API Reference