StreamProtect
Stay organized with collections
Save and categorize content based on your preferences.
This class is deprecated.The Stream Protect API will be shutdown in 2023.
Helpers for getting a StreamProtectClient
for accessing the Stream Protect API. The Stream Protect API provides real-time
cloud-streaming apps a better downlink WiFi experience on supported Android devices.
Inherited Method Summary
From class java.lang.Object
Public Methods
This method is deprecated.The Stream Protect API will be shutdown in 2023.
This method is deprecated.The Stream Protect API will be shutdown in 2023.
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License
, and code samples are licensed under the Apache 2.0 License
. For details, see the Google Developers Site Policies
. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-10-31 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-10-31 UTC."],[[["\u003cp\u003eThe \u003ccode\u003eStreamProtect\u003c/code\u003e class and its associated API are deprecated and will be shut down in 2023.\u003c/p\u003e\n"],["\u003cp\u003eThis class provided helper methods to get a \u003ccode\u003eStreamProtectClient\u003c/code\u003e for accessing the Stream Protect API.\u003c/p\u003e\n"],["\u003cp\u003eThe Stream Protect API aimed to improve downlink WiFi experience for real-time cloud-streaming apps on supported Android devices.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003egetClient\u003c/code\u003e methods, available for both \u003ccode\u003eActivity\u003c/code\u003e and \u003ccode\u003eContext\u003c/code\u003e, were used to obtain a \u003ccode\u003eStreamProtectClient\u003c/code\u003e instance for API access.\u003c/p\u003e\n"]]],[],null,["# StreamProtect\n\npublic final class **StreamProtect** extends [Object](//developer.android.com/reference/java/lang/Object.html) \n**This class is deprecated.** \n\nThe Stream Protect API will be shutdown in 2023.\n\nHelpers for getting a [StreamProtectClient](/android/reference/com/google/android/gms/streamprotect/StreamProtectClient)\nfor accessing the Stream Protect API. The Stream Protect API provides real-time\ncloud-streaming apps a better downlink WiFi experience on supported Android devices. \n\n### Public Method Summary\n\n|-----------------------------------------------------------------------------------------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| static [StreamProtectClient](/android/reference/com/google/android/gms/streamprotect/StreamProtectClient) | [getClient](/android/reference/com/google/android/gms/streamprotect/StreamProtect#getClient(android.app.Activity))([Activity](//developer.android.com/reference/android/app/Activity.html) activity) *This method is deprecated. The Stream Protect API will be shutdown in 2023.* |\n| static [StreamProtectClient](/android/reference/com/google/android/gms/streamprotect/StreamProtectClient) | [getClient](/android/reference/com/google/android/gms/streamprotect/StreamProtect#getClient(android.content.Context))([Context](//developer.android.com/reference/android/content/Context.html) context) *This method is deprecated. The Stream Protect API will be shutdown in 2023.* |\n\n### Inherited Method Summary\n\nFrom class java.lang.Object \n\n|----------------------------------------------------------------------------|--------------------------------------------------------------------------------|\n| [Object](//developer.android.com/reference/java/lang/Object.html) | clone() |\n| boolean | equals([Object](//developer.android.com/reference/java/lang/Object.html) arg0) |\n| void | finalize() |\n| final [Class](//developer.android.com/reference/java/lang/Class.html)\\\u003c?\\\u003e | getClass() |\n| int | hashCode() |\n| final void | notify() |\n| final void | notifyAll() |\n| [String](//developer.android.com/reference/java/lang/String.html) | toString() |\n| final void | wait(long arg0, int arg1) |\n| final void | wait(long arg0) |\n| final void | wait() |\n\nPublic Methods\n--------------\n\n#### public static [StreamProtectClient](/android/reference/com/google/android/gms/streamprotect/StreamProtectClient)\n**getClient** ([Activity](//developer.android.com/reference/android/app/Activity.html) activity)\n\n**This method is deprecated.** \n\nThe Stream Protect API will be shutdown in 2023. \nReturns a [StreamProtectClient](/android/reference/com/google/android/gms/streamprotect/StreamProtectClient)\nthat is used to access all APIs. \n\n#### public static [StreamProtectClient](/android/reference/com/google/android/gms/streamprotect/StreamProtectClient)\n**getClient** ([Context](//developer.android.com/reference/android/content/Context.html) context)\n\n**This method is deprecated.** \n\nThe Stream Protect API will be shutdown in 2023. \nReturns a [StreamProtectClient](/android/reference/com/google/android/gms/streamprotect/StreamProtectClient)\nthat is used to access all APIs."]]