Skip to content

Commit 93f91db

Browse files
authored
Merge pull request #91910 from v-maudel/patch-327
C130967: Adding two spaces to create hard break-line before snippet
2 parents 8498783 + 6e2d64c commit 93f91db

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

articles/cognitive-services/Speech-Service/quickstart-csharp-xamarin.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,7 @@ Now add the XAML code that defines the user interface of the application, and ad
6060
1. In the `OnRecognitionButtonClicked` handler, find the string `YourServiceRegion`, and replace it with the [region](regions.md) associated with your subscription. (For example, use `westus` for the free trial subscription.)
6161

6262
1. Next you need to create a [Xamarin Service](https://docs.microsoft.com/xamarin/android/app-fundamentals/services/creating-a-service/), which is used to query microphone permissions from different platform projects (UWP, Android and iOS). To do that add new folder `Services` under the `helloworld` project and create new C# source file under it (Right click `Services` folder and **Add** > **New Item** > **Code File**) and rename it to `IMicrophoneService.cs` and place all code from the following snippet in that file:
63+
6364
[!code-csharp[Quickstart Code](~/samples-cognitive-services-speech-sdk/quickstart/csharp-xamarin/helloworld/helloworld/Services/IMicrophoneService.cs)]
6465

6566
## Add sample code for the `helloworld.Android` project

0 commit comments

Comments
 (0)