code: public Observable<Page<StreamingLocatorInner>> listAsync(final String resourceGroupName, final String accountName) {
          return listWithServiceResponseAsync(resourceGroupName, accountName)
              .map(new Func1<ServiceResponse<Page<StreamingLocatorInner>>, Page<StreamingLocatorInner>>() {
                  @Override
                  public Page<StreamingLocatorInner> call(ServiceResponse<Page<StreamingLocatorInner>> response) {
                      return response.body();
                  }
              });
      }
docs: List Streaming Locators.
  Lists the Streaming Locators in the account.
  
  @param resourceGroupName The name of the resource group within the Azure subscription.
  @param accountName The Media Services account name.
  @throws IllegalArgumentException thrown if parameters fail the validation
  @return the observable to the PagedList&lt;StreamingLocatorInner&gt; object