Create _userstories package and add the 2 first user stories
This commit is contained in:
parent
bad62be497
commit
96c825e265
|
@ -1,3 +1,7 @@
|
||||||
|
# Package org.matrix.android.sdk._userstories
|
||||||
|
|
||||||
|
This package contains some user stories (**Us** prefix) of the SDK usage. You will find example of what it is possible to do with the SDK and the API which can be used to do it.
|
||||||
|
|
||||||
# Package org.matrix.android.sdk.api
|
# Package org.matrix.android.sdk.api
|
||||||
|
|
||||||
This is the root package of the API exposed by this SDK.
|
This is the root package of the API exposed by this SDK.
|
||||||
|
|
|
@ -0,0 +1,28 @@
|
||||||
|
/*
|
||||||
|
* Copyright (c) 2022 The Matrix.org Foundation C.I.C.
|
||||||
|
*
|
||||||
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
* you may not use this file except in compliance with the License.
|
||||||
|
* You may obtain a copy of the License at
|
||||||
|
*
|
||||||
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
*
|
||||||
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
* See the License for the specific language governing permissions and
|
||||||
|
* limitations under the License.
|
||||||
|
*/
|
||||||
|
|
||||||
|
@file:Suppress("unused")
|
||||||
|
|
||||||
|
package org.matrix.android.sdk._userstories
|
||||||
|
|
||||||
|
/**
|
||||||
|
* ### Title
|
||||||
|
* Init a Matrix object
|
||||||
|
*
|
||||||
|
* ### Required APIs:
|
||||||
|
* - [org.matrix.android.sdk.api.Matrix] constructor
|
||||||
|
*/
|
||||||
|
object Us000InitMatrix
|
|
@ -0,0 +1,31 @@
|
||||||
|
/*
|
||||||
|
* Copyright (c) 2022 The Matrix.org Foundation C.I.C.
|
||||||
|
*
|
||||||
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
* you may not use this file except in compliance with the License.
|
||||||
|
* You may obtain a copy of the License at
|
||||||
|
*
|
||||||
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
*
|
||||||
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
* See the License for the specific language governing permissions and
|
||||||
|
* limitations under the License.
|
||||||
|
*/
|
||||||
|
|
||||||
|
@file:Suppress("unused")
|
||||||
|
|
||||||
|
package org.matrix.android.sdk._userstories
|
||||||
|
|
||||||
|
/**
|
||||||
|
* ### Title
|
||||||
|
* Sign in to an existing account
|
||||||
|
*
|
||||||
|
* #### Required APIs:
|
||||||
|
* - [org.matrix.android.sdk.api.Matrix.authenticationService]
|
||||||
|
* - [org.matrix.android.sdk.api.auth.AuthenticationService.getLoginFlow]
|
||||||
|
* - [org.matrix.android.sdk.api.auth.AuthenticationService.getLoginWizard]
|
||||||
|
* - [org.matrix.android.sdk.api.auth.login.LoginWizard.login]
|
||||||
|
*/
|
||||||
|
object Us100SignIn
|
Loading…
Reference in New Issue